:root {
  --bg: #f7f9fc;
  --bg-alt: #eef3fb;
  --text: #1b2a41;
  --text-muted: #5f708a;
  --primary: #3366ff;
  --primary-hover: #2454ea;
  --surface: #ffffff;
  --border: #d8e2f1;
  --ok: #28b463;
  --error: #e14b4b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #ffffff, var(--bg) 48%);
  line-height: 1.55;
}

a {
  color: var(--primary);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  color: #3f64be;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.microcopy,
.section-lead,
.legal-links {
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  grid-column: 1 / -1;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 0.95rem;
  min-height: 118px;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  box-shadow: 0 10px 24px rgba(35, 86, 164, 0.08);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
}

.stat-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: #f6f9ff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #9bb4e0;
  background: #edf4ff;
}

.mockup {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  padding: 1rem 8.2rem 1rem 1rem;
  min-height: 210px;
  position: relative;
  box-shadow: 0 16px 40px rgba(25, 74, 145, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(35, 86, 164, 0.12);
}

.mockup-header {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.drone-pictogram {
  width: 120px;
  height: 120px;
  object-fit: contain;
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
}

.mockup ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(34, 84, 160, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(34, 84, 160, 0.14);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -120% auto -120% -35%;
  width: 36%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
  animation: cta-shine 4.6s ease-in-out infinite;
}

@keyframes cta-shine {
  0%,
  62% {
    left: -45%;
  }
  100% {
    left: 145%;
  }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.icon-inline {
  margin-right: 0.4rem;
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
}

.bullet-list li + li {
  margin-top: 0.6rem;
}

.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.problem-image-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.problem-image-frame {
  width: min(100%, 390px);
  margin-left: auto;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f2f7ff);
  border: 1px solid #cfdcf2;
  box-shadow: 0 16px 40px rgba(22, 65, 130, 0.14);
}

.problem-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid #e1e9f6;
  box-shadow: 0 8px 18px rgba(34, 84, 160, 0.1);
  object-fit: cover;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.cta form {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

label {
  font-weight: 600;
}

input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 0.65rem 0.8rem;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
textarea:focus-visible {
  outline: 2px solid #86aefc;
  outline-offset: 1px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
}

.checkbox-row input {
  margin-top: 0.25rem;
}

.form-message {
  min-height: 1.3rem;
  margin: 0;
}

.form-message.ok {
  color: var(--ok);
}

.form-message.error {
  color: var(--error);
}

.result-popup {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cookie-popup {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cookie-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-popup__card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 46px rgba(20, 49, 96, 0.24);
  padding: 1.2rem 1.2rem 1rem;
}

.cookie-popup__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.cookie-popup__card p {
  margin: 0;
  color: var(--text-muted);
}

.cookie-popup__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.result-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.result-popup__card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 22px 48px rgba(20, 49, 96, 0.28);
  padding: 1.2rem 1.2rem 1rem;
  position: relative;
  text-align: center;
}

.result-popup__close {
  position: absolute;
  right: 0.55rem;
  top: 0.45rem;
  border: none;
  background: transparent;
  color: #667896;
  font-size: 1.45rem;
  cursor: pointer;
}

.result-popup__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.result-popup__title {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
}

.result-popup__text {
  margin: 0;
  color: var(--text-muted);
}

.result-popup.success .result-popup__icon {
  background: #e7f8ef;
  color: #1f9a56;
}

.result-popup.error .result-popup__icon {
  background: #fdecec;
  color: #cf3434;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .hero-stats,
  .cards.three,
  .cards.two,
  .two-columns,
  .problem-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .brand-logo {
    height: 30px;
  }

  .drone-pictogram {
    width: 90px;
    height: 90px;
    right: 0.7rem;
  }

  .problem-image-wrap {
    justify-content: center;
  }

  .problem-image-frame {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
