@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070a;
  --bg-soft: #0c1016;
  --surface: #0f141c;
  --text: #f5f7fa;
  --text-soft: #9da9b8;
  --line: #1d2633;
  --accent: #0071e3;
  --accent-strong: #0a84ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 20% -10%, #111a26 0%, var(--bg) 42%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 10, 0.7);
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
  background: rgba(8, 13, 22, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-icon {
  width: 34px;
  height: 34px;
}

.brand-logo {
  width: 170px;
  height: auto;
}

.brand-text {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.main-nav a {
  position: relative;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active-link {
  color: var(--text);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.05), rgba(0, 113, 227, 0.9), rgba(0, 113, 227, 0.05));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.main-nav a:hover::after,
.main-nav a.active-link::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.54rem 0.96rem;
  border-radius: 999px;
}

.main-nav .nav-cta::after {
  content: none;
}

.main-nav .nav-cta:hover {
  background: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  padding: 0.55rem;
  gap: 0.2rem;
  flex-direction: column;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #cfd6df;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 6.2rem;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

body.is-loaded .hero-video {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 113, 227, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 227, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 28%, #000 40%, transparent 82%);
  opacity: 0.32;
  animation: gridFloat 24s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: min(560px, 70vw);
  aspect-ratio: 1 / 1;
  left: 62%;
  top: -18%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.24) 0%, rgba(0, 113, 227, 0) 65%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-content h1 {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-claim {
  opacity: 0;
  transform: translateY(18px);
}

body.is-loaded .hero-claim {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.lead {
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 58ch;
  margin-top: 1.4rem;
  margin-left: auto;
  margin-right: auto;
}

.body-copy {
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0.8rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.78rem 1.18rem;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(130, 191, 255, 0.9);
  box-shadow: 0 8px 26px rgba(0, 113, 227, 0.28);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: rgba(170, 216, 255, 0.95);
  box-shadow: 0 14px 34px rgba(0, 113, 227, 0.44);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -130%;
  width: 42%;
  height: 120%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  color: #e9f0fb;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.22);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-secondary:hover {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.26);
}

.btn-secondaryd {
  position: relative;
  overflow: hidden;
  color: #e9f0fb;
  border: 1px solid rgba(0, 113, 255, 0.88);
  background: linear-gradient(145deg, rgba(0, 113, 255, 0.12), rgba(0, 113, 255, 0.04));
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(0, 113, 255, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.22);
}

.btn-secondaryd::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0, 113, 255, 0.2), rgba(0, 113, 255, 0));
  pointer-events: none;
}

.btn-secondaryd:hover {
  color: #f7fbff;
  border-color: rgba(0, 113, 255, 1);
  background: linear-gradient(145deg, rgba(0, 113, 255, 0.16), rgba(0, 113, 255, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(0, 113, 255, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.26);
}

.main-nav .nav-cta {
  border: 1px solid rgba(130, 191, 255, 0.9);
}

.main-nav .nav-cta:hover {
  border-color: rgba(170, 216, 255, 0.95);
}

.section {
  padding: 5rem 0;
}

.grid-cards,
.grid-testimonials {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.grid-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, #101722 0%, #0c1118 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.card,
.quote-card,
.feature-panel {
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.card:hover,
.quote-card:hover,
.feature-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.42);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.52);
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.split-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.feature-panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #0b1016;
  padding: 1.3rem;
  align-self: start;
}

.feature-panel p {
  margin: 0.2rem 0;
  color: #cbd5e1;
}

.grid-testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  background: #0b1119;
}

.quote-card p {
  margin: 0 0 1rem;
  color: #d5deea;
}

.quote-card span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  display: grid;
  gap: 0.5rem;
  background: #0b1118;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #243043;
  border-radius: 0.7rem;
  background: #070c13;
  color: #f5f7fa;
  padding: 0.76rem 0.82rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 113, 227, 0.35);
  border-color: var(--accent);
}

.consent-check {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  align-items: start;
  gap: 0.55rem;
  margin-top: 0.4rem;
  color: #cfd8e6;
  font-size: 0.9rem;
  line-height: 1.45;
}

.consent-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.14rem;
  accent-color: var(--accent);
}

.consent-check a {
  color: #f2f7ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  margin: 0.1rem 0 0;
  font-size: 0.84rem;
  color: #9fb0c4;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #05080d;
}

.footer-content {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  gap: 1rem;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
}

.footer-links a:hover,
.footer-links a.active-link {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  margin: 0 auto;
  width: min(980px, calc(100% - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.8rem;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0;
  color: #d3dcea;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #f3f8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: inline-flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.56rem 0.94rem;
  font: inherit;
  font-weight: 600;
  color: #f5f8ff;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.cookie-btn:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.cookie-btn-accept {
  background: var(--accent);
  border-color: rgba(130, 191, 255, 0.9);
}

.cookie-btn-accept:hover {
  background: var(--accent-strong);
  border-color: rgba(170, 216, 255, 0.95);
}

.legal-main {
  padding: 2.8rem 0 4rem;
}

.legal-wrap {
  background: #0c121b;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem;
}

.legal-wrap h1 {
  margin-bottom: 0.7rem;
}

.legal-wrap h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.22rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridFloat {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.08);
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(1160px, calc(100% - 2.5rem));
  }

  .hero {
    min-height: 88svh;
    padding: 7.4rem 0 5.2rem;
  }

  .main-nav {
    gap: 0.95rem;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 1.8rem;
  }

  .grid-testimonials {
    grid-template-columns: 1fr;
  }

  .contact-wrap,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(1160px, calc(100% - 2rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 82vh;
    background:
      linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
      url("assets/images/hero-fallback.jpg") center / cover no-repeat;
  }

  .hero-video-wrap {
    display: none;
  }

  .hero::before {
    opacity: 0.18;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    background: #0b1118;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.55rem 0.5rem;
    border-radius: 0.5rem;
  }

  .main-nav a:hover {
    background: #111926;
  }

  .main-nav a::after {
    content: none;
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 0;
  }

  .cookie-banner {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    width: auto;
    padding: 0.9rem;
  }
}

@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .hero {
    padding-top: max(8.5rem, calc(8.5rem + env(safe-area-inset-top)));
    padding-bottom: max(6.2rem, calc(6.2rem + env(safe-area-inset-bottom)));
  }
}

/* TeamViewer Download Confirm Modal */
.tv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 6, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.tv-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.tv-modal-card {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(20, 28, 42, 0.88), rgba(8, 12, 20, 0.92));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 30px 60px rgba(0, 0, 0, 0.55);
  padding: 1.5rem 1.6rem 1.4rem;
  color: var(--text);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s ease;
}
.tv-modal.is-visible .tv-modal-card {
  transform: translateY(0) scale(1);
}
.tv-modal-card h2 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.tv-modal-card p {
  margin: 0 0 0.6rem;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}
.tv-modal-card p strong {
  color: var(--text);
}
.tv-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
  justify-content: flex-end;
}
.tv-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e9f0fb;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tv-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  transform: scale(1.04);
}
.tv-modal .btn-confirm {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(130, 191, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.32);
}
.tv-modal .btn-confirm:hover {
  background: var(--accent-strong);
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.44);
}
@media (prefers-reduced-motion: reduce) {
  .tv-modal, .tv-modal-card { transition: none; }
}
