:root {
  --av-navy: #060b18;
  --av-navy-surface: #0c1527;
  --av-blue: #2563eb;
  --av-cyan: #0284c7;
  --av-accent: #38bdf8;
  --av-border: rgba(56, 189, 248, 0.15);
  --av-success: #10b981;
  --av-ink: #0f172a;
  --av-muted: #64748b;
}

body {
  background-color: #ffffff !important;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif !important;
}

/* Hero Section */
.av-hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.22) 0%, transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.16) 0%, transparent 45%),
              #060b18;
  color: #ffffff;
  padding: 85px 20px 75px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.av-hero-container {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.av-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.av-pulse-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: av-pulse 2s infinite;
}

@keyframes av-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.av-hero-section h1 {
  font-size: clamp(2.1rem, 3.8vw + 1rem, 3.3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.av-hero-section h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.av-hero-subtitle {
  font-size: clamp(1.05rem, 1.1vw + 0.9rem, 1.25rem);
  color: #94a3b8;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 24px;
  font-weight: 400;
}

.av-hero-highlight {
  display: inline-block;
  color: #cbd5e1;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 22px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
}

.av-hero-highlight strong {
  color: #38bdf8;
}

/* Key Pillars Quick Bar */
.av-pillars-wrapper {
  max-width: 1140px;
  margin: -35px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.av-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.av-pillar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  border-right: 1px solid #f1f5f9;
}

.av-pillar-item:last-child {
  border-right: none;
}

.av-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av-pillar-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.av-pillar-desc {
  font-size: 12.5px;
  color: #64748b;
}

/* Content Sections Container */
.av-content-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 20px 40px;
}

/* Alternating Feature Rows */
.av-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 85px;
}

.av-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
  direction: rtl;
}

.av-row.reverse .av-text-col {
  direction: ltr;
  text-align: left;
}

.av-row.reverse .av-card-col {
  direction: ltr;
}

.av-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #059669;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.av-section-title {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.av-lead-p {
  font-size: 16px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 24px;
}

.av-feature-boxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.av-feat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.2s ease;
}

.av-feat-box:hover {
  background: #ffffff;
  border-color: #34d399;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.07);
  transform: translateY(-2px);
}

.av-feat-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.av-feat-title svg {
  color: #059669;
  flex-shrink: 0;
}

.av-feat-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Visual Cards & Mockups */
.av-visual-card {
  background: linear-gradient(145deg, #0c1527 0%, #060b18 100%);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 20px;
  padding: 34px 28px;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(6, 11, 24, 0.25);
  position: relative;
  overflow: hidden;
}

.av-visual-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.av-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.av-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
}

.av-metric-bar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

.av-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.av-metric-label {
  color: #94a3b8;
}

.av-metric-val {
  color: #34d399;
  font-weight: 700;
}

.av-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.av-progress-fill {
  width: 99.9%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #38bdf8);
}

/* 4-Event Webhook Pipeline */
.av-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.av-event-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.av-event-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
  transform: translateY(-2px);
}

.av-event-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.av-event-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.av-event-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* 6-Security Feature Stack */
.av-sec-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 55px 36px;
  margin-bottom: 85px;
}

.av-sec-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.av-sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.av-sec-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.2s ease;
}

.av-sec-card:hover {
  border-color: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
  transform: translateY(-3px);
}

.av-sec-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.av-sec-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.av-sec-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Related Trust & Security Links Hub */
.av-related-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 28px;
  margin-bottom: 60px;
  text-align: center;
}

.av-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.av-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 14px;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.av-related-card:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
  color: #2563eb;
}

.av-related-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av-related-title {
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
}

/* FAQ Accordion Section */
.av-faq-section {
  max-width: 840px;
  margin: 0 auto 85px;
}

.av-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.av-faq-item:hover {
  border-color: #cbd5e1;
}

.av-faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.av-faq-btn:focus {
  outline: none;
}

.av-faq-btn .faq-icon {
  font-size: 20px;
  color: #059669;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.av-faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.av-faq-body {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
}

.collapse:not(.show) {
  display: none;
}

.collapse.show {
  display: block;
}

/* High Converting CTA Card */
.av-cta-section {
  background: linear-gradient(135deg, #060b18 0%, #0c1527 50%, #064e3b 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 60px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 20px 45px rgba(6, 11, 24, 0.2);
}

.av-cta-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.av-cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.av-cta-content h2 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.av-cta-content p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 22px;
}

.av-cta-punchline {
  font-size: 18px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.av-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #059669;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
  transition: all 0.2s ease;
}

.av-cta-btn:hover {
  background: #047857;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.5);
  text-decoration: none;
}

.av-cta-sub {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 16px;
}

/* Responsive Queries */
@media (max-width: 991px) {
  .av-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .av-pillar-item:nth-child(2) {
    border-right: none;
  }
  .av-row {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .av-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .av-sec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .av-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .av-pillars-grid {
    grid-template-columns: 1fr;
  }
  .av-pillar-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
  }
  .av-pillar-item:last-child {
    border-bottom: none;
  }
  .av-events-grid {
    grid-template-columns: 1fr;
  }
  .av-sec-grid {
    grid-template-columns: 1fr;
  }
  .av-related-grid {
    grid-template-columns: 1fr;
  }
}
