:root {
  color-scheme: dark;
  --color-bg: #07131f;
  --color-surface: #0c1c2a;
  --color-surface-raised: #102437;
  --color-text: #f3f7fc;
  --color-muted: #a9bacb;
  --color-accent: #078bff;
  --color-border: rgb(151 191 225 / 18%);
  --content-width: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 12%, rgb(10 63 105 / 18%), transparent 34rem),
    var(--color-bg);
  color: var(--color-text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--color-border);
  background: rgb(7 19 31 / 94%);
}

.site-nav {
  display: flex;
  width: min(100% - 2rem, var(--content-width));
  min-height: 4.5rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand {
  flex: 0 0 auto;
  color: var(--color-text);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
}

.brand span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-text);
}

.hero {
  width: 100%;
  overflow: hidden;
  background: #07131f;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.content-section {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
  padding-block: clamp(3.75rem, 8vw, 6.5rem);
}

.section-heading {
  max-width: 42rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #7fc4ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-heading h1,
.section-heading h2,
.contact-section h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading h1 span {
  color: var(--color-accent);
}

.section-heading > p:last-child,
.contact-section > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-muted);
}

.service-list,
.dronixpert-pricing-table,
.dronixpert-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1rem;
}

.service-item,
.pricing-card,
.resource-item {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgb(16 36 55 / 94%), rgb(9 24 37 / 96%));
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.service-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border: 1px solid rgb(7 139 255 / 40%);
  border-radius: 0.75rem;
  background: rgb(7 139 255 / 10%);
  color: #8dccff;
  font-size: 1.5rem;
}

.service-item h2,
.pricing-card h3,
.resource-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.service-item p,
.plan-description,
.resource-item p,
.faq-item p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.pricing-section,
.faq-section {
  border-top: 1px solid var(--color-border);
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .eyebrow {
  min-height: 1.2em;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.pricing-card-featured {
  border-color: rgb(7 139 255 / 72%);
  box-shadow: 0 0 2.5rem rgb(7 139 255 / 12%);
}

.plan-description {
  min-height: 3.25rem;
}

.plan-price {
  margin: 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.button {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  border-radius: 0.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--color-accent);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: #42a8ff;
  background: #0878d8;
}

.button-secondary {
  background: transparent;
  color: #9bd2ff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgb(7 139 255 / 12%);
}

.resource-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.resource-label {
  margin-bottom: 0.75rem;
  color: #7fc4ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-item p {
  margin-bottom: 1.25rem;
}

.resource-item a {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  align-items: center;
  gap: 0.45rem;
  color: #9bd2ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.resource-item a:hover,
.resource-item a:focus-visible {
  color: white;
}

.dronixpert-faq-container {
  max-width: 52rem;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  min-height: 44px;
  padding-block: 0.95rem;
  color: var(--color-text);
  cursor: pointer;
  font-weight: 650;
  list-style-position: outside;
}

.faq-item summary::marker {
  color: var(--color-accent);
}

.faq-item p {
  padding: 0 0 1.15rem 1rem;
}

.contact-section {
  padding: clamp(3rem, 8vw, 5.5rem) 1rem;
  background:
    radial-gradient(ellipse at center, rgb(7 139 255 / 16%), transparent 68%),
    var(--color-surface);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 0.75rem;
}

.contact-section > p:not(.eyebrow) {
  max-width: 38rem;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  width: min(100% - 2rem, var(--content-width));
  min-height: 5.5rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1rem;
    padding-block: 0.8rem;
  }

  .brand {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0 0.65rem;
  }

  .nav-links a {
    padding-inline: 0.2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .site-nav,
  .content-section,
  .site-footer {
    width: min(100% - 1.25rem, var(--content-width));
  }

  .nav-links {
    column-gap: 0.35rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    padding-block: 1.25rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
