/* ─── AeroVault page-scoped variables ─── */
:root {
  --av-blue: #1565c0;
  --av-blue-mid: #1976d2;
  --av-blue-accent: #47b2e4;
  /* matches site accent */
  --av-bg-light: #f3f5fa;
  /* matches .section-bg */
  --av-bg-white: #ffffff;
  --av-text-dark: #1a1a1a;
  /* matches site --dark */
  --av-text-mid: #333333;
  /* matches --subdark */
  --av-text-muted: #6b7280;
  --av-border: #e5e7eb;
  --av-green: #16a34a;
  --av-card-shadow: 0 2px 16px rgba(21, 101, 192, 0.08);
}

/* ─── Hero ─── */
.av-hero {
  background: linear-gradient(135deg, #02101d 0%, #0d2950 45%, #1565c0 100%);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}

.av-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.av-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #90caf9;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.av-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.av-hero h1 span {
  color: #90caf9;
}

.av-hero .av-lead {
  color: rgba(255, 255, 255, 0.75);
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 460px;
}

.av-btn-primary {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  color: var(--av-blue);
  padding: 11px 26px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    color 0.2s;
}

.av-btn-primary:hover {
  background: #e3f0ff;
  color: var(--av-blue);
  text-decoration: none;
}

.av-btn-outline {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  margin-left: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.av-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

/* ─── Records mockup ─── */
.av-mockup {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}

.av-mockup-bar {
  background: #f3f4f6;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--av-border);
}

.av-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.av-dot-r {
  background: #ef4444;
}

.av-dot-y {
  background: #f59e0b;
}

.av-dot-g {
  background: #22c55e;
}

.av-mockup-bar .av-bar-title {
  font-size: 11px;
  color: var(--av-text-muted);
  margin-left: 6px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.av-tabs {
  display: flex;
  border-bottom: 1px solid var(--av-border);
  padding: 0 14px;
}

.av-tab {
  padding: 9px 12px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: var(--av-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.av-tab.active {
  color: var(--av-blue);
  border-bottom-color: var(--av-blue);
}

.av-table {
  width: 100%;
  border-collapse: collapse;
}

.av-table th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--av-text-muted);
  padding: 9px 14px;
  background: #fafafa;
  border-bottom: 1px solid var(--av-border);
  font-family: "Poppins", sans-serif;
}

.av-table td {
  padding: 9px 14px;
  font-size: 11.5px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  font-family: "Source Sans Pro", sans-serif;
}

.av-table tr:last-child td {
  border-bottom: none;
}

.av-file-name {
  color: var(--av-blue-accent);
  font-weight: 600;
}

.av-status {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.av-accepted {
  background: #dcfce7;
  color: #166534;
}

.av-pending {
  background: #fef3c7;
  color: #92400e;
}

.av-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fee2e2;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
  color: #dc2626;
  margin-right: 6px;
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
}

.av-meta {
  font-size: 11px;
  color: var(--av-text-muted);
}

/* ─── Built For bar ─── */
.av-built-bar {
  background: #fff;
  border-bottom: 1px solid var(--av-border);
  padding: 14px 0;
}

.av-built-bar .av-built-label {
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--av-text-muted);
  white-space: nowrap;
}

.av-built-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.av-built-tag {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--av-text-mid);
  padding: 4px 13px;
  border: 1px solid var(--av-border);
  border-radius: 20px;
}

/* ─── Section headings — scoped to avoid conflict with style.css .section-title ─── */
.av-section-label {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--av-blue-accent);
  margin-bottom: 8px;
  display: block;
}

.av-section-heading {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--av-text-dark);
  margin-bottom: 12px;
}

.av-section-sub {
  font-family: "Source Sans Pro", sans-serif;
  color: var(--av-text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* ─── Cap cards ─── */
.av-cap-section {
  background: var(--av-bg-light);
  padding: 72px 0;
}

.av-cap-card {
  background: #fff;
  border: 1px solid var(--av-border);
  border-radius: 10px;
  padding: 28px 24px;
  height: 100%;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.av-cap-card:hover {
  box-shadow: var(--av-card-shadow);
  transform: translateY(-3px);
}

.av-cap-icon {
  width: 42px;
  height: 42px;
  background: #e3f0ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--av-blue);
  margin-bottom: 14px;
}

.av-cap-card h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 7px;
  color: var(--av-text-dark);
}

.av-cap-card p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  color: var(--av-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Stats bar ─── */
.av-stats-bar {
  background: #fff;
  border-top: 1px solid var(--av-border);
  border-bottom: 1px solid var(--av-border);
  overflow: hidden;
}

.av-stat-item {
  padding: 38px 20px;
  text-align: center;
}

.av-stat-val {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--av-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.av-stat-label {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  color: var(--av-text-muted);
  font-weight: 400;
}

/* ─── Asset cards ─── */
.av-asset-section {
  background: var(--av-bg-light);
  padding: 72px 0;
}

.av-asset-card {
  background: #fff;
  border: 1px solid var(--av-border);
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  height: 100%;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.av-asset-card:hover {
  box-shadow: var(--av-card-shadow);
  transform: translateY(-3px);
}

.av-asset-icon {
  font-size: 28px;
  color: var(--av-blue);
  margin-bottom: 10px;
}

.av-asset-card h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--av-text-dark);
}

.av-asset-card p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 13.5px;
  color: var(--av-text-muted);
  margin: 0;
}

/* ─── Philosophy ─── */
.av-philosophy {
  background: #fff;
  padding: 72px 0;
}

.av-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.av-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 17px;
  color: var(--av-text-mid);
  margin-bottom: 14px;
  line-height: 1.55;
}

.av-check-list li::before {
  content: "\2713";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #dcfce7;
  color: var(--av-green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.av-journey-card {
  background: var(--av-bg-light);
  border: 1px solid var(--av-border);
  border-radius: 12px;
  padding: 32px;
}

.av-journey-card .av-journey-label {
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--av-text-muted);
  margin-bottom: 24px;
}

.av-step {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.av-step:last-child {
  margin-bottom: 0;
}

.av-step-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background: var(--av-blue);
  border-radius: 50%;
  margin-top: 4px;
  position: relative;
}

.av-step-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: 26px;
  background: #c8ddf5;
}

.av-step:last-child .av-step-dot::after {
  display: none;
}

.av-step-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--av-text-dark);
  margin-bottom: 2px;
}

.av-step-sub {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: var(--av-text-muted);
}

/* ─── CTA ─── */
.av-cta-section {
  background: var(--av-bg-light);
  padding: 60px 0;
}

.av-cta-box {
  background: #fff;
  border: 1px solid var(--av-border);
  border-radius: 14px;
  padding: 52px 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--av-card-shadow);
}

.av-cta-box h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--av-text-dark);
  margin-bottom: 12px;
}

.av-cta-box p {
  font-family: "Source Sans Pro", sans-serif;
  color: var(--av-text-muted);
  font-size: 17px;
  margin-bottom: 28px;
}

.av-cta-primary {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: var(--av-blue);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.av-cta-primary:hover {
  background: var(--av-blue-mid);
  color: #fff;
  text-decoration: none;
}

.av-cta-secondary {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  color: var(--av-text-dark);
  padding: 12px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--av-border);
  margin-left: 10px;
  text-decoration: none;
  display: inline-block;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.av-cta-secondary:hover {
  border-color: var(--av-blue-accent);
  color: var(--av-blue);
  text-decoration: none;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .av-hero {
    padding: 90px 0 56px;
  }

  .av-mockup {
    margin-top: 32px;
  }

  .av-stat-item {
    border-right: none !important;
    border-bottom: 1px solid var(--av-border);
  }

  .av-stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .av-hero {
    padding: 80px 0 48px;
  }

  .av-btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }

  .av-hero .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .av-cta-box {
    padding: 36px 20px;
  }

  .av-cta-secondary {
    margin-left: 0;
    margin-top: 10px;
    display: block;
    text-align: center;
  }

  .av-cta-primary {
    display: block;
    text-align: center;
  }

  .av-built-bar .d-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 525px) {
  .av-hero h1 {
    font-size: 1.7rem;
  }

  .av-hero .av-lead {
    font-size: 16px;
  }

  .av-cap-section,
  .av-asset-section,
  .av-philosophy,
  .av-cta-section {
    padding: 48px 0;
  }

  .av-section-sub {
    font-size: 15px;
  }

  .av-journey-card {
    padding: 22px 16px;
  }
}

/* ─── Stat border layout (desktop horizontal dividers) ─── */
@media (min-width: 992px) {
  .av-stat-col + .av-stat-col .av-stat-item {
    border-left: 1px solid var(--av-border);
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  /* 2-col grid on tablet */
  .av-stat-col:nth-child(2) .av-stat-item {
    border-left: 1px solid var(--av-border);
  }
}
