* { margin: 0; padding: 0; box-sizing: border-box; }

.agent-grid-area {
  font-family: 'Figtree', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
.bg-glow {
  position: fixed; inset: 0; pointer-events: none;
  z-index: 0;
}
.page-wrap { position: relative; z-index: 1; }

/* ── HERO ── */
.hero {
  display: flex; flex-direction: column; align-items: center;
  padding: 72px 40px 48px; text-align: center;
}
.hero-image-wrap {
  position: relative; width: 240px; height: 240px;
  margin-bottom: 32px;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-wrap::before {
  content: ''; position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, rgba(37,99,235,0.06) 50%, transparent 72%);
  animation: ambPulse 3.5s ease-in-out infinite;
}
@keyframes ambPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.07);opacity:0.7} }
.hero-ring1 {
  position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(59,142,255,0.22);
  animation: ringR 10s linear infinite;
}
.hero-ring2 {
  position:absolute; inset:24px; border-radius:50%;
  border:1px dashed rgba(59,142,255,0.15);
  animation: ringR 16s linear infinite reverse;
}
@keyframes ringR { to { transform:rotate(360deg); } }
.orbit-dot {
  position:absolute; width:8px; height:8px; border-radius:50%;
  background:#3B8EFF; box-shadow:0 0 10px rgba(59,142,255,0.9);
  top:4px; left:50%; margin-left:-4px;
  transform-origin: 4px 116px;
  animation: orb 10s linear infinite;
}
@keyframes orb { to { transform: rotate(360deg); } }
.hero-svg-card {
  position:relative; z-index:2;
  filter: drop-shadow(0 8px 40px rgba(37,99,235,0.5)) drop-shadow(0 2px 14px rgba(0,0,0,0.65));
  animation: floatC 4s ease-in-out infinite;
}
@keyframes floatC { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── Glass page background overlay ── */
.page-glass {
  min-height: 100vh;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(2px);
}

/* ── Section wrapper ── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

/* ── Header ── */
.section-header {
  text-align: center;
  margin-bottom: 10px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(59,142,255,0.12);
  border: 1px solid rgba(59,142,255,0.3);
  border-radius: 20px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: #1E5FD8;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #3B8EFF; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.4)} }

.section-header h2 {
  color: var(--Text-Color, #0D0E10);
  font-family: "Figtree", sans-serif;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
  line-height: 54px;
  text-transform: capitalize;
}
.section-header h2 span {
  background-clip: text;
  color: #4782A2;
}
.section-header p {
  color: #4782A2;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 auto;
  width: 100%;
  margin-top: 25px;
  margin-bottom: 0;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards-grid .card:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
.cards-grid .card:nth-child(2) { grid-column: 1 / 4; grid-row: 2; }
.cards-grid .card:nth-child(3) { grid-column: 1; grid-row: 3; }
.cards-grid .card:nth-child(4) { grid-column: 2; grid-row: 3; }
.cards-grid .card:nth-child(5) { grid-column: 3; grid-row: 3; }
.cards-grid .card:nth-child(6) { grid-column: 1 / 4; grid-row: 4; }

/* ── Agent card (grey glass) ── */
.card {
  position: relative;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 20px;
  padding: 24px 24px 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(220,235,255,0.18) 100%);
  pointer-events: none;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(to top, rgba(59,130,246,0.08) 0%, transparent 100%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(59,142,255,0.18), 0 4px 16px rgba(59,142,255,0.1);
  border-color: rgba(59,142,255,0.45);
}

.card .blue-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169,198,241,0.18) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.card:hover .blue-glow { opacity: 1; }

.card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  position: relative; z-index: 1;
  font-size: 18px;
}
.card-icon img {
  border-radius: 10px;
  height: 100px;
}
.icon-blue   { background: linear-gradient(135deg, rgba(59,142,255,0.2), rgba(37,99,235,0.15)); border: 1px solid rgba(59,142,255,0.3); }
.icon-green  { background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(22,163,74,0.12)); border: 1px solid rgba(34,197,94,0.3); }
.icon-amber  { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(217,119,6,0.13)); border: 1px solid rgba(245,158,11,0.3); }
.icon-rose   { background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(220,38,38,0.1)); border: 1px solid rgba(239,68,68,0.3); }
.icon-purple { background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(109,40,217,0.1)); border: 1px solid rgba(139,92,246,0.3); }
.icon-indigo { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(67,56,202,0.13)); border: 1px solid rgba(99,102,241,0.3); }

.card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0A1A3A;
  margin-bottom: 6px;
  position: relative; z-index: 1;
  letter-spacing: -0.2px;
}
.card p {
  font-size: 12px;
  color: #6A7A9A;
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

/* ── Chart containers ── */
.chart-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.8);
  z-index: 1;
}

/* ── Stat chips ── */
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #16A34A;
  margin-bottom: 10px;
}
.stat-chip.blue   { background: rgba(59,142,255,0.1);   border-color: rgba(59,142,255,0.25);   color: #1D6EE0; }
.stat-chip.amber  { background: rgba(245,158,11,0.1);   border-color: rgba(245,158,11,0.25);   color: #B45309; }
.stat-chip.indigo { background: rgba(99,102,241,0.1);   border-color: rgba(99,102,241,0.25);   color: #4338CA; }
.stat-chip.purple { background: rgba(139,92,246,0.1);   border-color: rgba(139,92,246,0.25);   color: #6D28D9; }

/* ── Mini metrics inside card ── */
.metrics-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  z-index: 1;
  position: relative;
}
.metric-pill {
  flex: 1;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}
.metric-pill .val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 2px;
}
.metric-pill .lbl { font-size: 10px; color: #8A9ABB; font-weight: 500; }
.val-blue   { color: #2563EB; }
.val-green  { color: #16A34A; }
.val-amber  { color: #D97706; }
.val-rose   { color: #DC2626; }
.val-purple { color: #7C3AED; }
.val-indigo { color: #4338CA; }

/* ── Progress bars ── */
.prog-row { margin-bottom: 9px; }
.prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #5A6A8A;
  margin-bottom: 4px;
  font-weight: 500;
}
.prog-track {
  height: 6px;
  background: rgba(59,142,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* ── Horizontal zigzag workflow (Card 2) ── */
.hzwf {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: 14px;
}
.hzwf-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.hzwf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.hzwf-bubble {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.25s ease;
}
.hzwf-bubble:hover { transform: translateY(-4px) scale(1.06); }
.hzwf-bubble-inner {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 18px rgba(37,99,235,0.22);
}
.hzwf-bubble-inner::after {
  content: '';
  position: absolute; top: 6px; left: 10px;
  width: 38%; height: 22%;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.hzwf-num {
  position: absolute; top: 0; right: 0;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 9px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.hzwf-label { text-align: center; }
.hzwf-label .hl-title { font-size: 12px; font-weight: 700; color: #0A1A3A; }
.hzwf-label .hl-desc  { font-size: 10px; color: #6A7A9A; margin-top: 1px; }
.hzwf-label .hl-badge {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 6px;
}
.hzwf-harrow {
  flex: 0 0 auto;
  display: flex; align-items: center;
  padding-bottom: 28px;
}

/* ── Card 6: ITC Leakage — full width, same as card 1 ── */
.card6-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.card6-left  { flex: 0 0 240px; }
.card6-right { flex: 1; }

/* ITC chart area */
.itc-chart-svg { width: 100%; height: 130px; display: block; overflow: visible; }