:root {
  --bg: #070b14;
  --bg-alt: #0d1424;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #9aa8c7;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #10b981;
  --accent-2: #8b5cf6;
  --warning: #f59e0b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.22), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.12), transparent 35%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #93c5fd, #a78bfa 45%, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 2.2rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats li {
  min-width: 110px;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.device-stack {
  position: relative;
  min-height: 420px;
}

.screen {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screen-web {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.screen-bar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.screen-content {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(7, 11, 20, 0.72);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mock-badge {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.mock-title {
  font-weight: 700;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mock-card {
  padding: 0.9rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.mock-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.mock-card.accent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.18));
}

.mock-list .mock-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.55rem;
}

.mock-list .mock-line.short {
  width: 68%;
}

.screen-mobile {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 220px;
  z-index: 2;
}

.screen-mobile .mobile {
  padding: 1.2rem;
}

.mobile-label {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.mobile-value {
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.mobile-chip {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 600;
}

.trust {
  padding: 1.2rem 0 2.5rem;
}

.trust-inner {
  text-align: center;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head p:last-child {
  color: var(--muted);
  margin: 0;
}

.features-grid,
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-card,
.sector-card,
.problems-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover,
.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  background: var(--surface-strong);
}

.feature-card.highlight {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(59, 130, 246, 0.28);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.feature-card p,
.sector-card p {
  margin: 0;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.video-player-block {
  display: grid;
  gap: 0.5rem;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  display: block;
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.video-fallback {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  color: #93c5fd;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.video-fallback:hover {
  text-decoration: underline;
}

.video-fallback[hidden],
.video-local-hint[hidden] {
  display: none !important;
}

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

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.2rem;
  border-color: transparent transparent transparent #fff;
}

.video-poster:hover .video-play,
.video-poster:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #2563eb;
}

.video-poster:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.video-local-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid var(--border);
}

.video-local-hint code {
  font-size: 0.78rem;
  color: #93c5fd;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.benefits-list article {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.benefits-list article:last-child {
  border-bottom: 0;
}

.benefits-list p,
.problems-card p {
  margin: 0;
  color: var(--muted);
}

.problems-card {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.03));
}

.problems-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.problems-card li + li {
  margin-top: 0.55rem;
}

.cta-section {
  padding-bottom: 6rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.65);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-note a {
  color: #93c5fd;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  z-index: 200;
}

.video-caption {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-caption a {
  color: #93c5fd;
  font-weight: 600;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.5rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.site-footer nav p {
  margin: 0.5rem 0 0;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav a:hover {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

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

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

@media (max-width: 1024px) {
  .hero-grid,
  .video-grid,
  .benefits-layout,
  .cta-box,
  .features-grid,
  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .video-grid,
  .benefits-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 74px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(7, 11, 20, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .features-grid,
  .sectors-grid,
  .footer-inner,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .screen-mobile {
    right: 12px;
    bottom: -10px;
    width: 180px;
  }

  h1 {
    max-width: none;
  }
}
