/* ==========================================================================
   ASWIN VIJAYAN — 100% CLIENT-SIDE WEB TOOLS DESIGN SYSTEM
   Dark Luxury & Minimalist Tech Architecture (Version 3.0)
   Brand: Aswin Vijayan (https://www.aswinvijayan.com)
   ========================================================================== */

:root {
  --av-bg: #07090e;
  --av-card-bg: #111722;
  --av-surface-dark: #090d14;
  --av-border: rgba(255, 255, 255, 0.08);
  --av-text-primary: #f8fafc;
  --av-text-secondary: #cbd5e1;
  --av-text-muted: #94a3b8;
  --av-red: #d7001d;
  --av-red-bright: #ff2a44;
  --av-green: #10b981;
  --av-blue: #38bdf8;
  --av-amber: #f59e0b;
  --av-font-heading: "Plus Jakarta Sans", sans-serif;
  --av-font-body: "Inter", sans-serif;
  --av-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ==========================================================================
   HIGH-CONTRAST GLOBAL TEXT OVERRIDES (DARK LUXURY THEME)
   Guarantees maximum visibility on dark backgrounds
   ========================================================================== */
body {
  background-color: var(--av-bg, #07090e);
  color: var(--av-text-secondary, #cbd5e1);
}

/* Bootstrap Text Contrast Fixes on Dark Surfaces */
.text-muted {
  color: #94a3b8 !important; /* High-contrast readable slate-400 */
}

.text-secondary {
  color: #cbd5e1 !important; /* Crisp slate-300 */
}

.text-xs {
  font-size: 0.78rem;
}

p.lead,
.lead,
.lead.text-muted {
  color: #cbd5e1 !important; /* Crisp, readable subtitle text */
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Pro-Tip Callout Component */
.av-pro-tip,
.tool-pro-tip {
  background: rgba(19, 27, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--av-red-bright, #ff2a44);
  border-radius: var(--av-radius-sm, 10px);
  padding: 1rem 1.25rem;
  color: #e2e8f0 !important;
  font-size: 0.9rem;
  line-height: 1.65;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.av-pro-tip strong,
.tool-pro-tip strong {
  color: #ffffff !important;
  font-weight: 700;
}

.av-pro-tip em,
.tool-pro-tip em {
  color: #cbd5e1 !important;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   1. TOOL HERO BANNER
   -------------------------------------------------------------------------- */
.av-tools-hero {
  padding: 8.5rem 0 4.5rem;
  background: radial-gradient(circle at 85% 10%, rgba(215, 0, 29, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 15% 90%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 70%),
    var(--av-bg, #07090e);
  border-bottom: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .av-tools-hero {
    padding: 7.25rem 0 3.5rem;
  }
}

@media (max-width: 767px) {
  .av-tools-hero {
    padding: 6.5rem 0 2.5rem;
  }
}

.av-tools-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 0, 29, 0.5), transparent);
  pointer-events: none;
}

.av-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--av-radius-pill, 9999px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--av-text-secondary, #cbd5e1);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.av-live-dot {
  width: 7px;
  height: 7px;
  background-color: var(--av-green, #10b981);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  display: inline-block;
  animation: av-pulse-emerald 2s infinite ease-in-out;
}

@keyframes av-pulse-emerald {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.av-tools-hero h1,
.av-tools-hero-title {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.av-text-glow {
  background: linear-gradient(135deg, #ffffff 30%, #ff6b7e 80%, #d7001d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.av-tools-hero-desc {
  font-size: 1.12rem;
  color: var(--av-text-secondary, #cbd5e1);
  max-width: 860px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Hero Stats Strip */
.av-tools-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 920px;
}

@media (max-width: 767px) {
  .av-tools-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.av-stat-box {
  background: rgba(17, 23, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  transition: all 0.25s ease;
}

.av-stat-box:hover {
  border-color: rgba(215, 0, 29, 0.35);
  background: rgba(215, 0, 29, 0.04);
  transform: translateY(-2px);
}

.av-stat-number {
  font-family: var(--av-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.av-stat-number .stat-accent {
  color: var(--av-red-bright, #ff2a44);
  font-size: 1.25rem;
}

.av-stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.3;
}

/* Hero Domain Quick Jumps */
.av-tools-domain-jumps {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.av-domain-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.av-domain-jump-btn:hover {
  background: rgba(215, 0, 29, 0.12);
  border-color: rgba(215, 0, 29, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(215, 0, 29, 0.25);
}

.av-domain-jump-btn .count-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.av-domain-jump-btn:hover .count-badge {
  background: rgba(215, 0, 29, 0.3);
  color: #ffffff;
}

/* Privacy Guarantee Card */
.av-privacy-seal-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.25rem;
  background: rgba(17, 23, 34, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  color: #cbd5e1;
  backdrop-filter: blur(10px);
}

.av-privacy-seal-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Flagship Spotlight */
.av-flagship-spotlight {
  padding: 0 0 2rem;
}

.av-spotlight-title {
  font-family: var(--av-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.av-flagship-card {
  background: linear-gradient(145deg, rgba(25, 33, 49, 0.9) 0%, rgba(17, 23, 34, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.av-flagship-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #d7001d, transparent);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.av-flagship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 0, 29, 0.5);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(215, 0, 29, 0.18);
}

.av-flagship-card:hover::before {
  opacity: 1;
}

.av-flagship-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.av-flagship-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.av-flagship-name {
  font-family: var(--av-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.av-flagship-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.av-flagship-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--av-red-bright, #ff2a44);
  transition: gap 0.2s ease;
}

.av-flagship-card:hover .av-flagship-cta {
  gap: 0.55rem;
}

/* --------------------------------------------------------------------------
   2. TOOL WORKSPACE & INTERACTIVE CARDS
   -------------------------------------------------------------------------- */
.av-tool-workspace {
  padding: 3.5rem 0 5rem;
  background-color: var(--av-bg-subtle, #0b0f17);
  position: relative;
}

.av-tool-card,
.av-surface-card {
  background: var(--av-surface-card, #131b28);
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--av-radius-lg, 22px);
  padding: 2.25rem;
  box-shadow: var(--av-shadow-md, 0 10px 30px -5px rgba(0, 0, 0, 0.6));
  transition: var(--av-transition, all 0.32s cubic-bezier(0.16, 1, 0.3, 1));
}

.av-tool-card:hover,
.av-surface-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 40px -8px rgba(0, 0, 0, 0.8);
}

.av-tool-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
}

.av-tool-card-title {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Form Controls in Dark Mode */
.av-form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--av-text-secondary, #cbd5e1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.av-form-label-desc {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--av-text-muted, #8b99ad);
  text-transform: none;
}

.av-input,
.av-select,
.av-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--av-surface, #111722);
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.12));
  border-radius: var(--av-radius-sm, 10px);
  color: var(--av-text-primary, #f8fafc);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--av-transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
}

.av-input:focus,
.av-select:focus,
.av-textarea:focus {
  outline: none;
  border-color: var(--av-red-bright, #ff2a44);
  background: #151d2c;
  box-shadow: 0 0 0 3px rgba(215, 0, 29, 0.25);
  color: #ffffff;
}

.av-select {
  cursor: pointer;
}

.av-select option {
  background: #111722;
  color: #f8fafc;
}

.av-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Buttons */
.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--av-radius-sm, 10px);
  border: none;
  cursor: pointer;
  transition: var(--av-transition-fast, all 0.2s cubic-bezier(0.16, 1, 0.3, 1));
  text-decoration: none;
}

.av-btn-primary {
  background: var(--av-red, #d7001d);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(215, 0, 29, 0.4);
}

.av-btn-primary:hover {
  background: var(--av-red-bright, #ff2a44);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(215, 0, 29, 0.55);
  transform: translateY(-2px);
}

.av-btn-outline {
  background: transparent;
  border: 1px solid var(--av-border-light, rgba(255, 255, 255, 0.18));
  color: var(--av-text-primary, #f8fafc);
}

.av-btn-outline:hover {
  border-color: var(--av-red-bright, #ff2a44);
  color: var(--av-red-bright, #ff2a44);
  background: rgba(215, 0, 29, 0.08);
  transform: translateY(-2px);
}

.av-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* Prompt Preview Console Box */
.prompt-console-box {
  background: #090d14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--av-radius-md, 16px);
  padding: 1.5rem;
  position: relative;
  font-family: var(--av-font-mono, monospace);
  font-size: 0.95rem;
  color: #f8fafc !important;
  line-height: 1.7;
  word-break: break-word;
  white-space: pre-wrap;
  min-height: 110px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.prompt-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-console-header span:not(.prompt-console-badge),
.prompt-console-header .text-muted {
  color: #cbd5e1 !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.prompt-console-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(215, 0, 29, 0.2);
  color: var(--av-red-bright, #ff2a44);
  border: 1px solid rgba(215, 0, 29, 0.4);
}

.av-prompt-output-box {
  background: #090d14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--av-font-mono, monospace);
  font-size: 0.92rem;
  color: #f8fafc !important;
  line-height: 1.65;
  word-break: break-word;
  white-space: pre-wrap;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.prompt-param-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  margin: 0.2rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: var(--av-font-mono, monospace);
  background: rgba(255, 255, 255, 0.06);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* --------------------------------------------------------------------------
   3. TECHNICAL REFERENCE & EDUCATIONAL GUIDE (DARK LUXURY)
   -------------------------------------------------------------------------- */
.tool-guide-section {
  padding: 5rem 0 4rem;
  background-color: var(--av-bg, #07090e);
  color: var(--av-text-secondary, #cbd5e1);
  border-top: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
}

.tool-guide-prose h2 {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  letter-spacing: -0.02em;
  margin-top: 2.75rem;
  margin-bottom: 1.15rem;
  line-height: 1.25;
}

.tool-guide-prose h3 {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--av-text-primary, #f8fafc);
  letter-spacing: -0.01em;
  margin-top: 1.85rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.tool-guide-prose p,
.tool-guide-prose li {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--av-text-secondary, #cbd5e1);
  margin-bottom: 1.25rem;
}

.tool-guide-prose strong {
  color: var(--av-text-primary, #f8fafc);
  font-weight: 700;
}

.tool-guide-prose ul,
.tool-guide-prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.6rem;
}

.tool-guide-card {
  background: var(--av-surface-card, #131b28);
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--av-radius-lg, 16px);
  padding: 1.85rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tool-guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.tool-guide-card .card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  margin-bottom: 0.75rem;
}

.tool-guide-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--av-text-secondary, #cbd5e1);
  margin-bottom: 0;
}

/* Callouts */
.tool-callout {
  padding: 1.35rem 1.65rem;
  border-radius: var(--av-radius-md, 12px);
  margin: 1.75rem 0;
  border-left: 4px solid var(--av-red, #d7001d);
  background: rgba(215, 0, 29, 0.08);
  color: var(--av-text-secondary, #cbd5e1);
}

.tool-callout.callout-info {
  border-left-color: #0284c7;
  background: rgba(2, 132, 199, 0.09);
}

.tool-callout.callout-success {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.09);
}

.tool-callout h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  margin-bottom: 0.4rem;
}

.tool-callout p {
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0;
  color: var(--av-text-secondary, #cbd5e1);
}

/* Data Tables */
.tool-table-wrapper,
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--av-radius-md, 14px);
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.12));
  background: var(--av-surface-card, #111722);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.tool-data-table,
.av-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  color: var(--av-text-secondary, #cbd5e1);
  margin-bottom: 0;
}

.tool-data-table th,
.tool-data-table td,
.av-table th,
.av-table td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  text-align: left;
  vertical-align: middle;
}

.tool-data-table th,
.av-table th {
  background: #090d14;
  color: var(--av-text-primary, #f8fafc);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid rgba(215, 0, 29, 0.45);
  white-space: nowrap;
}

.tool-data-table td strong,
.av-table td strong {
  color: #f8fafc;
  font-weight: 600;
}

.tool-data-table td code,
.av-table td code {
  background: #090d14;
  color: #38bdf8;
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--av-font-mono, monospace);
  font-size: 0.84rem;
}

.tool-data-table tr:hover td,
.av-table tr:hover td {
  background: rgba(255, 255, 255, 0.035);
}

/* FAQs */
.tool-faq-item {
  background: var(--av-surface-card, #131b28);
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--av-radius-md, 12px);
  margin-bottom: 1.15rem;
  overflow: hidden;
}

.tool-faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.65rem;
  background: var(--av-surface-card, #131b28);
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--av-text-primary, #f8fafc);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tool-faq-question:hover {
  background: #172131;
  color: var(--av-red-bright, #ff2a44);
}

.tool-faq-question svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--av-text-muted, #8b99ad);
}

.tool-faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--av-red-bright, #ff2a44);
}

.tool-faq-answer {
  padding: 1.25rem 1.65rem;
  background: #0f1622;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--av-text-secondary, #cbd5e1);
  border-top: 1px solid var(--av-border, rgba(255, 255, 255, 0.06));
}

/* --------------------------------------------------------------------------
   4. HIGH-IMPACT PERSONAL BRAND CONSULTATION BANNER
   -------------------------------------------------------------------------- */
.av-cta-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(215, 0, 29, 0.15) 0%, #07090e 75%);
  border-top: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
}

.av-cta-banner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.av-cta-title {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.av-cta-subtitle {
  font-size: 1.15rem;
  color: var(--av-text-secondary, #cbd5e1);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Toast Notifications */
.av-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #111722;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--av-red-bright, #ff2a44);
  color: #f8fafc;
  padding: 0.9rem 1.4rem;
  border-radius: var(--av-radius-sm, 10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.av-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Button Copy State & In-Place Confirmation */
.copied-success,
.av-btn.copied-success,
.btn.copied-success {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important;
  transform: scale(1.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --------------------------------------------------------------------------
   5. TOKEN BADGES & SYNTAX ANALYZER (Tool 3)
   -------------------------------------------------------------------------- */
.av-token-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: #090d14;
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--av-radius-sm, 10px);
  min-height: 120px;
  max-height: 320px;
  overflow-y: auto;
}

.av-token-badge {
  display: inline-flex;
}

.av-badge-token {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: #131b28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #f1f5f9;
  font-family: var(--av-font-mono, monospace);
  transition: all 0.2s ease;
}

.av-badge-token:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.av-badge-token .token-name {
  font-weight: 600;
  color: #f8fafc;
}

.av-badge-token .token-weight {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #94a3b8;
}

.av-badge-token .token-idx {
  font-size: 0.68rem;
  color: #64748b;
}

.av-badge-weighted {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
}
.av-badge-weighted .token-weight {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-weight: 700;
}

.av-badge-reduced {
  opacity: 0.65;
  border-color: rgba(148, 163, 184, 0.3);
}

.av-badge-overflow {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
}
.av-badge-overflow .token-idx {
  color: #fbbf24;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. CANVAS VISUAL COMPOSITION & GRID OVERLAY (Tool 4)
   -------------------------------------------------------------------------- */
.av-canvas-container {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: #090d14;
  border: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--av-radius-sm, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.av-canvas-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--av-radius-sm, 10px);
  padding: 3rem 1.5rem;
  text-align: center;
  cursor: pointer;
  background: rgba(19, 27, 40, 0.4);
  transition: all 0.25s ease;
}

.av-canvas-dropzone:hover,
.av-canvas-dropzone.drag-active {
  border-color: var(--av-red-bright, #ff2a44);
  background: rgba(215, 0, 29, 0.08);
}

#composition-canvas {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   7. STYLE & LIGHTING CHEATSHEET CATALOG (Tool 5)
   -------------------------------------------------------------------------- */
.av-filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.av-filter-pill {
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #131b28;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--av-text-secondary, #cbd5e1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.av-filter-pill:hover,
.av-filter-pill.active {
  background: var(--av-red, #d7001d);
  border-color: var(--av-red-bright, #ff2a44);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(215, 0, 29, 0.35);
}

.av-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.av-style-card {
  background: #111722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--av-radius-sm, 10px);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.av-style-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 0, 29, 0.4);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(215, 0, 29, 0.15);
}

.av-style-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--av-red-bright, #ff2a44);
  margin-bottom: 0.35rem;
}

.av-style-card-title {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.45rem;
}

.av-style-card-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.av-style-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.av-style-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #cbd5e1;
}

.av-style-prompt-snip {
  background: #090d14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-family: var(--av-font-mono, monospace);
  font-size: 0.78rem;
  color: #e2e8f0;
  margin-bottom: 0.85rem;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   7. EXTENDED TOOL DOCUMENTATION & ARTICLE SYSTEM (DARK LUXURY)
   -------------------------------------------------------------------------- */
.av-tool-documentation {
  background-color: var(--av-bg, #07090e);
  color: var(--av-text-secondary, #cbd5e1);
  border-top: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
}

.av-tool-documentation h2 {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  color: var(--av-text-primary, #f8fafc) !important;
  letter-spacing: -0.02em;
}

.av-tool-documentation h3,
.av-tool-documentation h4,
.av-tool-documentation h5,
.av-tool-documentation h6 {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  color: var(--av-text-primary, #f8fafc);
}

.av-tool-documentation p,
.av-tool-documentation li {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--av-text-secondary, #cbd5e1);
}

.av-tool-documentation strong {
  color: var(--av-text-primary, #f8fafc);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. COMPREHENSIVE CTA SECTION & CTA BOX
   -------------------------------------------------------------------------- */
.av-tool-cta {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(215, 0, 29, 0.15) 0%, #07090e 75%);
  border-top: 1px solid var(--av-border, rgba(255, 255, 255, 0.08));
}

.av-cta-box {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(17, 23, 34, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--av-radius-xl, 20px);
  padding: 3.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(215, 0, 29, 0.1);
}

.av-cta-box h2 {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--av-text-primary, #f8fafc);
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.av-cta-box .av-cta-subtitle {
  font-size: 1.15rem;
  color: var(--av-text-secondary, #cbd5e1);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Static FAQ items without collapsible button */
.tool-faq-item {
  padding: 1.35rem 1.65rem;
}

.tool-faq-item:has(.tool-faq-question) {
  padding: 0;
}

.tool-faq-item h3 {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--av-text-primary, #f8fafc);
  margin-bottom: 0.65rem;
}

.tool-faq-item p {
  color: var(--av-text-secondary, #cbd5e1);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Form Controls in Bootstrap Dark Integration */
.av-tool-workspace .form-control,
.av-tool-workspace .form-select {
  background-color: #111722 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

.av-tool-workspace .form-control:focus,
.av-tool-workspace .form-select:focus {
  background-color: #151d2c !important;
  border-color: var(--av-red-bright, #ff2a44) !important;
  box-shadow: 0 0 0 3px rgba(215, 0, 29, 0.25) !important;
  color: #ffffff !important;
}

.av-tool-workspace .input-group-text {
  background-color: #0b0f17 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
}

/* --------------------------------------------------------------------------
   9. COMMAND DECK & SEARCH WORKSPACE (2026 LUXURY)
   -------------------------------------------------------------------------- */
.av-command-deck {
  background: linear-gradient(180deg, rgba(18, 25, 38, 0.95) 0%, rgba(10, 14, 22, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 2.25rem 2.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(215, 0, 29, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 3.5rem;
}

.av-command-deck::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 0, 29, 0.5), transparent);
  pointer-events: none;
}

.av-search-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #080b12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.av-search-bar-wrap:focus-within {
  border-color: var(--av-red-bright, #ff2a44);
  box-shadow: 0 0 0 3px rgba(215, 0, 29, 0.25), 0 0 25px rgba(215, 0, 29, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.5);
  background: #0c111a;
}

.av-search-bar-wrap .av-search-icon,
.av-search-icon {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem 0 1.25rem;
  color: var(--av-red-bright, #ff2a44) !important;
  flex-shrink: 0;
  pointer-events: none;
  line-height: 1;
}

.av-search-bar-wrap .av-search-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  stroke: var(--av-red-bright, #ff2a44);
  stroke-width: 2.25;
}

#tools-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 0.75rem 0.95rem 0.5rem !important;
  box-shadow: none !important;
}

#tools-search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.av-search-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.95rem;
  flex-shrink: 0;
}

#tools-clear-search {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

#tools-clear-search:hover {
  background: rgba(255, 42, 68, 0.2);
  border-color: rgba(255, 42, 68, 0.4);
  color: #ffffff;
  transform: scale(1.06);
}

#tools-clear-search svg {
  display: block;
}

.av-deck-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.av-deck-telemetry strong {
  color: #ffffff;
}

/* Segmented Tabbing Deck */
.tools-filter-pill {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: var(--av-font-heading);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.tools-filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.tools-filter-pill.active {
  background: linear-gradient(135deg, #d7001d 0%, #b30018 100%);
  color: #ffffff;
  border-color: #ff2a44;
  box-shadow: 0 6px 22px rgba(215, 0, 29, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.tools-filter-pill .pill-counter {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-weight: 700;
}

.tools-filter-pill.active .pill-counter {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. CENTRAL 20 TOOLS DIRECTORY CARDS (2026 LUXURY)
   -------------------------------------------------------------------------- */
.av-directory-card {
  background: linear-gradient(150deg, rgba(20, 28, 42, 0.9) 0%, rgba(12, 17, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

.av-directory-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: all 0.3s ease;
}

.av-directory-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 0, 29, 0.45);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(215, 0, 29, 0.14);
}

.av-directory-card:hover::before {
  background: linear-gradient(90deg, #d7001d, #ff2a44, transparent);
}

.av-directory-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}

.av-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.av-directory-badge-ai {
  background: rgba(215, 0, 29, 0.12);
  color: #ff3b53;
  border: 1px solid rgba(215, 0, 29, 0.3);
}

.av-directory-badge-design {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.av-directory-badge-brand {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.av-directory-badge-security {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.av-tool-id-tag {
  font-family: var(--av-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.av-directory-card-title {
  font-family: var(--av-font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.av-directory-card:hover .av-directory-card-title {
  color: var(--av-red-bright, #ff2a44);
}

.av-card-audience {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.95rem;
  width: fit-content;
}

.av-card-audience svg {
  color: #64748b;
}

.av-directory-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.av-card-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.av-feature-chip {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.av-directory-card-footer {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.av-card-runtime-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 600;
}

.av-card-runtime-pill svg {
  stroke-width: 2.5;
}

.av-card-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
}

.av-card-launch-btn:hover,
.av-directory-card:hover .av-card-launch-btn {
  background: var(--av-red, #d7001d);
  border-color: var(--av-red-bright, #ff2a44);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(215, 0, 29, 0.4);
  transform: translateX(2px);
}

.av-card-launch-btn svg {
  transition: transform 0.2s ease;
}

.av-card-launch-btn:hover svg,
.av-directory-card:hover .av-card-launch-btn svg {
  transform: translateX(3px);
}

/* Clean CTA Section in Tools Suite */
.av-cta-section {
  padding: 5.5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(215, 0, 29, 0.1) 0%, transparent 70%), #07090e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.av-cta-banner {
  background: linear-gradient(135deg, rgba(20, 27, 40, 0.95) 0%, rgba(10, 14, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 3.5rem 3.5rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(215, 0, 29, 0.12);
  position: relative;
  overflow: hidden;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.av-cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff2a44, transparent);
}

.av-cta-title {
  font-family: var(--av-font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  max-width: 100%;
}

.av-cta-subtitle {
  font-size: 1.08rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 100%;
}

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

.av-cta-perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.av-cta-perk-item span.av-perk-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA Action Pod */
.av-cta-action-pod {
  background: rgba(7, 10, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.av-pod-tag {
  font-family: var(--av-font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--av-red-bright, #ff2a44);
  background: rgba(255, 42, 68, 0.1);
  border: 1px solid rgba(255, 42, 68, 0.22);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.av-pod-btns {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.av-pod-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #ff2a44 0%, #b80018 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(215, 0, 29, 0.35);
}

.av-pod-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(215, 0, 29, 0.5);
  color: #ffffff;
}

.av-pod-btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.av-pod-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.av-pod-sla {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 991px) {
  .av-cta-banner {
    padding: 2.25rem 1.75rem;
  }
}

/* ==========================================================================
   Full-Container Content Blocks & Feature Sections (2026 Dark Luxury)
   ========================================================================== */

.av-content-block {
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.av-content-block-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.av-block-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 42, 68, 0.08);
  border: 1px solid rgba(255, 42, 68, 0.22);
  border-radius: 9999px;
  color: #ff2a44;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.av-block-badge-emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.av-block-badge-brand {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.av-block-title {
  font-family: var(--av-font-heading);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 1rem;
}

.av-block-subtitle {
  font-size: 1.08rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 auto;
}

/* 1. Manifesto Dual Comparison Cards */
.av-manifesto-card {
  height: 100%;
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.av-manifesto-card.threat {
  border-color: rgba(239, 68, 68, 0.22);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.035) 0%, rgba(11, 15, 23, 0.95) 100%);
}

.av-manifesto-card.sovereign {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.045) 0%, rgba(11, 15, 23, 0.95) 100%);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.04);
}

.av-manifesto-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.av-manifesto-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.threat .av-manifesto-icon-wrap {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.sovereign .av-manifesto-icon-wrap {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.av-manifesto-card-title {
  font-family: var(--av-font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.av-manifesto-prose {
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.av-manifesto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.av-manifesto-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.av-manifesto-list-item strong {
  color: #ffffff;
}

.av-item-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.threat .av-item-dot {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.sovereign .av-item-dot {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

/* 2. Disciplines Full-Width Row Cards */
.av-discipline-row-card {
  background: linear-gradient(180deg, #101520 0%, #0a0e16 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.av-discipline-row-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 42, 68, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(215, 0, 29, 0.08);
}

.av-discipline-row-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--av-discipline-accent, #ff2a44);
  opacity: 0.85;
}

.av-discipline-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.av-discipline-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--av-red-bright, #ff2a44);
  flex-shrink: 0;
}

.av-discipline-range {
  font-family: var(--av-font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.av-discipline-persona {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--av-red-bright, #ff2a44);
  background: rgba(255, 42, 68, 0.08);
  border: 1px solid rgba(255, 42, 68, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.av-discipline-row-title {
  font-family: var(--av-font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.av-discipline-row-prose {
  font-size: 0.96rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.av-discipline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.av-discipline-chip {
  font-size: 0.76rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.av-discipline-row-card:hover .av-discipline-chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Right Panel: Included Tools */
.av-discipline-tools-panel {
  background: rgba(8, 12, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1.65rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.av-tools-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.av-tools-panel-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.av-tools-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.av-tools-panel-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.av-tools-panel-item a:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 42, 68, 0.35);
  color: #ffffff;
  transform: translateX(3px);
}

.av-panel-tool-id {
  font-family: var(--av-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--av-red-bright, #ff2a44);
  background: rgba(255, 42, 68, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.av-panel-arrow {
  margin-left: auto;
  color: #64748b;
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.av-tools-panel-item a:hover .av-panel-arrow {
  color: var(--av-red-bright, #ff2a44);
  transform: translateX(3px);
}

.av-discipline-filter-btn {
  margin-top: 1rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.av-discipline-filter-btn:hover {
  background: rgba(255, 42, 68, 0.15);
  border-color: rgba(255, 42, 68, 0.3);
  color: #ffffff;
}

@media (max-width: 991px) {
  .av-discipline-row-card {
    padding: 1.75rem;
  }
}

/* 3. In-Browser Advantages 4-Column Feature Grid */
.av-advantage-card {
  height: 100%;
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.av-advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.av-advantage-metric {
  font-family: var(--av-font-mono, monospace);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--av-red-bright, #ff2a44);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.av-advantage-metric.emerald {
  color: #10b981;
}

.av-advantage-metric.cyan {
  color: #38bdf8;
}

.av-advantage-title {
  font-family: var(--av-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.av-advantage-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* 4. Technical Directory Matrix Deck */
.av-matrix-deck {
  background: #090d15;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
}

.av-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.av-matrix-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.av-matrix-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

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

.av-matrix-table tbody tr {
  transition: background 0.2s ease;
}

.av-matrix-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.av-matrix-id {
  font-family: var(--av-font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--av-red-bright, #ff2a44);
}

.av-matrix-tool-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.av-matrix-tool-link:hover {
  color: var(--av-red-bright, #ff2a44);
}

.av-matrix-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}

.av-matrix-api {
  font-family: var(--av-font-mono, monospace);
  font-size: 0.82rem;
  color: #94a3b8;
}

.av-matrix-stakeholder {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* 5. Luxury FAQ Accordion Deck (Full Container) */
.av-faq-deck {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.av-faq-card {
  background: linear-gradient(180deg, #101520 0%, #0a0e16 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.25s ease;
  width: 100%;
}

.av-faq-card:hover {
  border-color: rgba(255, 42, 68, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.av-faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  color: #ffffff;
  font-family: var(--av-font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.av-faq-topic-tag {
  font-family: var(--av-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--av-red-bright, #ff2a44);
  background: rgba(255, 42, 68, 0.08);
  border: 1px solid rgba(255, 42, 68, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.av-faq-question-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.av-faq-btn:hover {
  color: var(--av-red-bright, #ff2a44);
}

.av-faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.av-faq-btn[aria-expanded="true"] .av-faq-chevron {
  transform: rotate(180deg);
  color: var(--av-red-bright, #ff2a44);
}

.av-faq-answer {
  padding: 0 2rem 1.75rem;
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 1100px;
}

.av-faq-answer strong {
  color: #ffffff;
}

@media (max-width: 768px) {
  .av-faq-btn {
    padding: 1.25rem 1.25rem;
    font-size: 1rem;
  }
  .av-faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .av-manifesto-card,
  .av-discipline-bento-card {
    padding: 1.75rem;
  }
  .av-matrix-deck {
    padding: 1rem;
  }
}
