/* ==========================================================================
   Contexa Components
   Buttons, Cards, Badges, Alerts, and Reusable UI Components
   ========================================================================== */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: var(--shadow-brand);
  color: var(--text-inverse);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-heavy);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-lg .btn-icon {
  width: 20px;
  height: 20px;
}

/* ── Cards ── */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-brand);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  background: var(--brand-gradient-subtle);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
}

.card-icon.icon-security {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.card-icon.icon-security svg {
  color: var(--color-danger);
}

.card-icon.icon-identity {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
}

.card-icon.icon-identity svg {
  color: var(--color-info);
}

.card-icon.icon-ai {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
}

.card-icon.icon-ai svg {
  color: var(--brand-secondary);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--brand-primary);
  text-decoration: none;
  margin-top: var(--space-4);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--space-2);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(2px);
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: var(--leading-normal);
}

.badge-primary {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.badge-secondary {
  background: var(--brand-secondary-light);
  color: var(--brand-secondary);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

.badge-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.badge-info {
  background: var(--color-info-bg);
  color: var(--color-info);
}

.badge-outline {
  background: transparent;
  border: 1px solid currentColor;
}

/* ── Alerts / Callouts ── */
.callout {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.callout:has(.callout-icon) {
  display: flex;
  gap: var(--space-3);
}

.callout-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.callout-content {
  flex: 1;
}

.callout-content p {
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
}

.callout-content p + p {
  margin-top: var(--space-2);
}

.callout-info {
  background: var(--color-info-bg);
  color: #0E7490;
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.callout-warning {
  background: var(--color-warning-bg);
  color: #92400E;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.callout-danger {
  background: var(--color-danger-bg);
  color: #991B1B;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.callout-success {
  background: var(--color-success-bg);
  color: #065F46;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.callout-note {
  background: var(--brand-primary-light);
  color: #1E40AF;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-6);
  overflow-x: auto;
}

.tab {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-tertiary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-sans);
}

.tab:hover {
  color: var(--text-secondary);
}

.tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ── Feature List ── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  margin-bottom: 0;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 2px;
}

/* ── Stats Bar ── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-8) var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-light) 50%, transparent 100%);
  margin: var(--space-16) 0;
}

/* ── Tag Group ── */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

/* ── Steps / Flow ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
  padding-left: var(--space-12);
}

.steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary));
  border-radius: var(--radius-full);
}

.step {
  position: relative;
}

.step-number {
  position: absolute;
  left: calc(-1 * var(--space-12));
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: var(--text-inverse);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 4px var(--bg-primary);
}

.step-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Eyebrow ── */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  margin-top: 0;
}

.section-header .lead {
  margin-bottom: 0;
}

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.two-col > * {
  min-width: 0;
}

.two-col-text {
  max-width: 540px;
}

/* ── Table Scroll Container ── */
.table-scroll {
  overflow-x: auto;
  margin: var(--space-6) 0;
}

/* ── Annotation Reference Table ── */
.api-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.api-table:not(.table-scroll .api-table) {
  margin: var(--space-6) 0;
}

.api-table th {
  background: var(--bg-secondary);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-medium);
}

.api-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.api-table td:first-child {
  white-space: nowrap;
}

.api-table td:first-child code {
  word-break: normal;
  overflow-wrap: normal;
}

.api-table td code {
  font-size: var(--text-xs);
}

.api-table tbody tr:hover {
  background: var(--bg-secondary);
}

/* ── Comparison Table ── */
.comparison-table th:first-child {
  width: 40%;
}

.comparison-table .check {
  color: var(--color-success);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.comparison-table .dash {
  color: var(--text-tertiary);
}

/* ── Architecture Flow (horizontal) ── */
.arch-flow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  overflow-x: auto;
}

.arch-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  min-width: 140px;
  text-align: center;
  flex-shrink: 0;
}

.arch-flow-node-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.arch-flow-node-desc {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.arch-flow-arrow {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.arch-flow-arrow svg {
  width: 24px;
  height: 24px;
}

/* ── Zero Trust Action Badges ── */
.zt-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
}

.zt-allow {
  background: rgba(5, 150, 105, 0.1);
  color: var(--zt-allow);
}

.zt-block {
  background: rgba(220, 38, 38, 0.1);
  color: var(--zt-block);
}

.zt-challenge {
  background: rgba(217, 119, 6, 0.1);
  color: var(--zt-challenge);
}

.zt-escalate {
  background: rgba(124, 58, 237, 0.1);
  color: var(--zt-escalate);
}

.zt-pending {
  background: rgba(8, 145, 178, 0.1);
  color: var(--zt-pending);
}

/* ── Landing Page: Hero Setup Row ── */
.hero-setup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* ── Landing Page: Annotation Cards ── */
.annotation-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.annotation-card {
  padding: 18px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.annotation-card--blue {
  border-left: 4px solid #2563EB;
}

.annotation-card--purple {
  border-left: 4px solid #7C3AED;
}

/* ── Landing Page: Platform Diagram ── */
.platform-section {
  background: #0A0A0F;
  padding: 6rem 0;
}

.platform-diagram {
  max-width: 1100px;
  margin: 0 auto;
}

.platform-diagram-grid {
  display: grid;
  grid-template-columns: 200px 80px 1fr 80px 200px;
  align-items: center;
  gap: 0;
}

.platform-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.platform-engine {
  position: relative;
  padding: 44px 40px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.03) 100%);
  border: 1.5px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 80px rgba(0, 212, 255, 0.07), 0 0 160px rgba(0, 212, 255, 0.03), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Landing Page: Platform Section Header ── */
.platform-section .eyebrow {
  color: var(--brand-accent);
  border-color: rgba(0, 212, 255, 0.3);
}

.platform-section .section-header {
  margin-bottom: 4rem;
}

.platform-section h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.platform-section .lead {
  color: rgba(255,255,255,0.55);
  max-width: 680px;
  margin: 0 auto;
}

/* ── Landing Page: Hero Button Group ── */
.hero-btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* ── Landing Page: Hero Setup Badge ── */
.hero-setup-badge {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 24px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}

/* ── Landing Page: Hero Setup Description ── */
.hero-setup-desc {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ── Landing Page: Hero Annotation Title ── */
.hero-annotation-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-annotation-title--blue {
  color: #2563EB;
}

.hero-annotation-title--purple {
  color: #7C3AED;
}

/* ── Landing Page: Hero Annotation Description ── */
.hero-annotation-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ── Landing Page: Hero Two Annotations Heading ── */
.hero-two-annotations {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 20px;
  line-height: 1.4;
}

/* ── Landing Page: Code Highlight Spans ── */
.code-highlight-cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--brand-accent);
  padding: 2px 0;
  border-radius: 3px;
  font-weight: 600;
}

.code-highlight-purple {
  background: rgba(124, 58, 237, 0.15);
  color: #A78BFA;
  padding: 2px 0;
  border-radius: 3px;
  font-weight: 600;
}

/* ── Landing Page: CTA Button Group ── */
.cta-btn-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* ── Landing Page: Platform Diagram Components ── */

/* Principle tagline at top */
.pd-tagline {
  text-align: center;
  margin-bottom: 48px;
}

.pd-tagline span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0, 212, 255, 0.5);
  letter-spacing: 0.18em;
}

/* Section label ("Any Request", "Zero Trust Action") */
.pd-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Left panel (source panel) */
.pd-source-panel {
  padding: 28px 20px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Right panel (action panel) */
.pd-action-panel {
  padding: 28px 20px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Source item row (Human, API Call, AI Agent) */
.pd-source-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon box in source items */
.pd-source-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text next to icon */
.pd-source-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* "All authenticated" label */
.pd-auth-label {
  margin-top: 4px;
}

.pd-auth-label span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(6, 214, 160, 0.5);
  letter-spacing: 0.06em;
}

/* Connector label (REQUEST / DECISION) */
.pd-connector-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* Flow line */
.pd-connector-line {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  overflow: visible;
}

.pd-connector-line--request {
  background: linear-gradient(90deg, rgba(0,212,255,0.05), rgba(0,212,255,0.5));
}

.pd-connector-line--decision {
  background: linear-gradient(90deg, rgba(0,212,255,0.5), rgba(0,212,255,0.05));
}

/* Arrow at end of line */
.pd-connector-arrow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.pd-connector-arrow--request {
  border-left: 14px solid var(--brand-accent);
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.6));
}

.pd-connector-arrow--decision {
  border-left: 14px solid rgba(0,212,255,0.5);
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.3));
}

/* Animated dot on line */
.pd-connector-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 10px rgba(0,212,255,0.8), 0 0 20px rgba(0,212,255,0.4);
  animation: pulseFlowR 2s ease-in-out infinite;
}

/* Top glow line on engine */
.pd-engine-glow {
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

/* Engine header area */
.pd-engine-header {
  text-align: center;
  margin-bottom: 32px;
}

/* "AI-Native Security" badge */
.pd-engine-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.12));
  border: 1.5px solid rgba(0, 212, 255, 0.25);
  border-radius: 40px;
  margin: 0 auto 14px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.12);
}

.pd-engine-badge span {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.pd-engine-badge .pd-accent {
  color: var(--brand-accent);
}

.pd-engine-badge .pd-accent-light {
  color: var(--brand-accent);
  font-weight: 300;
}

/* Subtitle text below badge */
.pd-engine-subtitle {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* 3-Stage Pipeline container */
.pd-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

/* Each pipeline step (01, 02, 03) */
.pd-pipeline-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(0, 212, 255, 0.04);
  border-left: 3px solid rgba(0, 212, 255, 0.4);
  border-radius: 0 10px 10px 0;
}

/* Middle step (stronger border) */
.pd-pipeline-step--accent {
  background: rgba(0, 212, 255, 0.06);
  border-left: 3px solid rgba(0, 212, 255, 0.6);
}

/* Step number (01, 02, 03) */
.pd-step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-accent);
  flex-shrink: 0;
  width: 20px;
}

/* Step title */
.pd-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Step description */
.pd-step-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

/* Arrow between steps */
.pd-pipeline-arrow {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

/* Core insight box */
.pd-insight {
  text-align: center;
  padding: 14px 20px;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 24px;
}

.pd-insight div {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 500;
}

.pd-insight strong {
  color: var(--brand-accent);
}

/* Module tags container */
.pd-modules {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Cyan module tag (Identity, IAM) */
.pd-module-tag {
  padding: 5px 14px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 212, 255, 0.6);
}

/* Purple module tag (AI Core, Security) */
.pd-module-tag--purple {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.12);
  color: rgba(167, 139, 250, 0.6);
}

/* Action item row */
.pd-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-left: 12px;
}

/* Color dot base */
.pd-action-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Color variants using CSS custom properties */
.pd-action-dot--allow {
  background: #06D6A0;
  box-shadow: 0 0 10px rgba(6, 214, 160, 0.4);
}

.pd-action-dot--challenge {
  background: #EAB308;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.pd-action-dot--escalate {
  background: #A78BFA;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.pd-action-dot--block {
  background: #E63946;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

.pd-action-dot--pending {
  background: #6B7280;
  box-shadow: 0 0 10px rgba(107, 114, 128, 0.4);
}

/* Action name */
.pd-action-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.pd-action-name--allow { color: #06D6A0; }
.pd-action-name--challenge { color: #EAB308; }
.pd-action-name--escalate { color: #A78BFA; }
.pd-action-name--block { color: #E63946; }
.pd-action-name--pending { color: #9CA3AF; }

/* Action description */
.pd-action-desc {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}

/* Bottom "CONTINUOUS MONITORING" text */
.pd-bottom-tagline {
  text-align: center;
  margin-top: 40px;
}

.pd-bottom-tagline span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.12em;
}
