/* ============================================================
   Aquila Insights Inc — Site Stylesheet
   Pure static site, no build tools required.
   ============================================================ */

:root {
  --background: #0b0e14;
  --foreground: #eef1f6;
  --brand: #3b82f6;
  --brand-dark: #1d4ed8;
  --surface: #10141f;
  --surface-2: #151a28;
  --border-soft: #232a3b;
  --muted: #8b93a7;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-border-top {
  border-top: 1px solid var(--border-soft);
}

.section-surface {
  background: var(--surface);
}

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--brand);
}

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

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(238, 241, 246, 0.8);
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--foreground);
}

.btn {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: rgba(238, 241, 246, 0.9);
}

.btn-outline:hover {
  border-color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--foreground);
  font-size: 1.25rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
}

.mobile-nav a {
  padding: 0.6rem 0.25rem;
  font-size: 0.95rem;
  color: rgba(238, 241, 246, 0.9);
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(to bottom, var(--surface), var(--background));
  border-bottom: 1px solid var(--border-soft);
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 46rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.25rem;
  }
}

.hero p.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 2.5rem;
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 600;
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Section headings ---------- */

h2.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

@media (min-width: 640px) {
  h2.section-title {
    font-size: 2rem;
  }
}

p.section-subtitle {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2.5rem;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

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

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

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand);
}

/* ---------- Testimonial ---------- */

.testimonial {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
}

.testimonial p.quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(238, 241, 246, 0.9);
}

.testimonial .author {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta-section {
  text-align: center;
}

.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* ---------- Lists with bullets ---------- */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.4rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .footer-brand {
    grid-column: span 2;
  }
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 22rem;
  margin: 1rem 0 0;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  padding: 2rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(238, 241, 246, 0.9);
}

.field .required {
  color: var(--brand);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--foreground);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.btn-submit {
  width: 100%;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--brand-dark);
}

.success-box {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.success-box h3 {
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.success-box p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.tag {
  display: inline-block;
  background: var(--surface);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(to bottom, var(--surface), var(--background));
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 40rem;
  margin: 1rem 0 0.75rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

.two-col-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .two-col-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.35rem 0;
}

.contact-info .address-block {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 0.5rem;
}

.contact-info .address-block strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--foreground);
}
