/* AIgroup intelligence hero: local SVG, CSS and a small optional canvas. */
.aigroup-site .ag-hero.ag-hero-intelligence {
  --ag-hero-bg: #080f1d; --ag-hero-text: #f0f5ff; --ag-hero-muted: #a0b3d0;
  --ag-hero-line: rgb(120 162 235 / 18%); --ag-hero-glass: rgb(16 34 61 / 76%);
  position: relative; isolation: isolate; overflow: hidden; background: var(--ag-hero-bg); color: var(--ag-hero-text); border-color: var(--ag-hero-line);
}
.aigroup-site .ag-hero.ag-hero-intelligence::before { inset: -15% -8%; z-index: -2; background: radial-gradient(ellipse at 74% 38%, rgb(34 94 178 / 28%), transparent 44%), radial-gradient(ellipse at 97% 80%, rgb(25 114 150 / 14%), transparent 43%); animation: ag-neural-atmosphere 12s ease-in-out infinite alternate; }
.ag-hero-intelligence::after { position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none; background-image: linear-gradient(rgb(113 159 234 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(113 159 234 / 5%) 1px, transparent 1px); background-size: 66px 66px; mask-image: linear-gradient(90deg, transparent, #000 65%, transparent); }
.aigroup-site .ag-hero-intelligence .ag-hero-grid { grid-template-columns: 1.08fr 1fr; min-height: 700px; gap: 16px; padding-block: 80px 67px; }
.ag-hero-intelligence .ag-hero-copy { z-index: 4; }
.aigroup-site .ag-hero-intelligence .ag-eyebrow { color: #8cc7ff; font-size: 11px; letter-spacing: 1.8px; }
.aigroup-site .ag-hero-intelligence .ag-hero-copy h1 { max-width: 670px; margin-top: 23px; color: var(--ag-hero-text); font-size: clamp(44px, 4.7vw, 65px); line-height: 1.3; letter-spacing: -.045em; }
.ag-hero-intelligence .ag-hero-copy h1 em { color: #8cb6ff; background: linear-gradient(100deg, #90E9F7 0, #86B5FF 48%, #6697FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aigroup-site .ag-hero-intelligence .ag-hero-description { max-width: 500px; margin-top: 26px !important; color: var(--ag-hero-muted); font-size: 17px; line-height: 1.9; }
.ag-hero-domains { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 25px 0 0 !important; }
.ag-hero-domains li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 6px 10px; border: 1px solid var(--ag-hero-line); border-radius: 6px; color: #b6cbe9; background: rgb(23 50 86 / 26%); font-size: 11px; line-height: 1.6; }
.ag-hero-domains svg { width: 14px; height: 14px; color: #84b8ff; }
.ag-hero-intelligence .ag-hero-actions { margin-top: 30px; gap: 12px; }
.aigroup-site .ag-hero-intelligence .ag-button-primary { box-shadow: 0 5px 28px rgb(36 92 242 / 24%); }
.aigroup-site .ag-hero-intelligence .ag-button-outline { color: #dce9ff !important; border-color: #385273; background: rgb(18 38 65 / 44%); }
.aigroup-site .ag-hero-intelligence .ag-button-outline:hover { border-color: #79abff; background: #18335a; }
.aigroup-site .ag-hero-intelligence .ag-hero-note { max-width: 480px; color: #98acca; font-size: 12px; line-height: 1.8; }
.aigroup-site .ag-hero-intelligence .ag-hero-note svg { color: #83c7f2; }
.aigroup-site .ag-hero-intelligence .ag-capabilities { border-color: var(--ag-hero-line); }
.aigroup-site .ag-hero-intelligence .ag-capability { position: relative; padding-block: 26px; color: #b3c7e5; transition: color .2s, background .2s; }
.aigroup-site .ag-hero-intelligence .ag-capability + .ag-capability { border-color: var(--ag-hero-line); }
.aigroup-site .ag-hero-intelligence .ag-capability:hover { background: rgb(62 113 190 / 9%); color: #fff; }
.aigroup-site .ag-hero-intelligence .ag-capability > span:first-child { color: #768bab; }
.aigroup-site .ag-hero-intelligence .ag-capability strong { font-size: 12px; }
.aigroup-site .ag-intelligence-visual { min-height: 535px; width: calc(100% + 35px); margin-left: -10px; perspective: 1000px; }
.aigroup-site .ag-intelligence-visual::before { display: none; }
.ag-intelligence-halo { position: absolute; inset: 14% 5%; border-radius: 50%; background: radial-gradient(ellipse, rgb(56 122 235 / 18%), transparent 65%); filter: blur(18px); }
.ag-intelligence-orb { position: relative; z-index: 1; width: 100%; max-width: 600px; height: auto; overflow: visible; }
.ag-neural-canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.ag-neural-meridians { transform-origin: 280px 270px; transform: rotate(-15deg); }
.ag-neural-orbit { transform-origin: 280px 270px; animation: ag-neural-orbit 65s linear infinite; }
.ag-neural-signals path { stroke-dasharray: 70 600; stroke-dashoffset: 670; animation: ag-neural-signal 7s linear infinite; }
.ag-neural-signals path:nth-child(2) { animation-delay: -2.4s; }
.ag-neural-signals path:nth-child(3) { animation-delay: -4.7s; }
.ag-neural-core-shell { transform-origin: 280px 278px; filter: drop-shadow(0 8px 30px rgb(22 88 225 / 36%)); animation: ag-neural-core-breathe 6s ease-in-out infinite; }
.ag-intelligence-coordinate { position: absolute; z-index: 3; color: #7492bc; font-size: 8px; font-weight: 500; letter-spacing: 2px; line-height: 1.6; }
.ag-coordinate-top { top: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.ag-coordinate-bottom { bottom: 13px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.ag-coordinate-bottom i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #5d8dcc; box-shadow: 0 0 7px #5d8dcc; }
.ag-neural-label { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1px solid rgb(103 150 220 / 26%); border-radius: 11px; background: var(--ag-hero-glass); box-shadow: 0 15px 35px rgb(0 0 0 / 13%); backdrop-filter: blur(12px); }
.ag-neural-label-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgb(106 166 246 / 18%); border-radius: 9px; color: #95c4ff; background: rgb(54 113 210 / 13%); }
.ag-neural-label-icon svg { width: 19px; height: 19px; }
.ag-neural-label strong { display: block; color: #dce9fc; font-size: 12px; line-height: 1.6; font-weight: 600; }
.ag-neural-label small { display: block; color: #8ba6cb; font-size: 10px; line-height: 1.7; }
.ag-neural-label > i { width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: #7cdded; box-shadow: 0 0 9px rgb(124 221 237 / 40%); }
.ag-neural-label-ai { top: 94px; right: 0; animation: ag-neural-label-drift 7s ease-in-out infinite; }
.ag-neural-label-data { bottom: 90px; left: 0; animation: ag-neural-label-drift 8s ease-in-out infinite reverse; }
html[data-ag-theme="light"] .ag-hero.ag-hero-intelligence { --ag-hero-bg: #f4f7fd; --ag-hero-text: #162a49; --ag-hero-muted: #5d718e; --ag-hero-line: rgb(62 105 177 / 17%); --ag-hero-glass: rgb(255 255 255 / 82%); }
html[data-ag-theme="light"] .ag-hero.ag-hero-intelligence::before { background: radial-gradient(ellipse at 74% 38%, rgb(117 171 247 / 23%), transparent 48%), radial-gradient(ellipse at 96% 85%, rgb(111 206 222 / 14%), transparent 44%); }
html[data-ag-theme="light"] .ag-hero-intelligence::after { background-image: linear-gradient(rgb(69 119 202 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(69 119 202 / 6%) 1px, transparent 1px); }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-eyebrow { color: #376db6; }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-hero-copy h1 em { background-image: linear-gradient(100deg, #176da9, #245cf2 78%); }
html[data-ag-theme="light"] .ag-hero-domains li { color: #426388; background: rgb(255 255 255 / 55%); }
html[data-ag-theme="light"] .ag-hero-domains svg { color: #376dc2; }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-button-outline { color: #244b7b !important; border-color: #bed0e9; background: rgb(255 255 255 / 44%); }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-button-outline:hover { background: #e6eefc; border-color: #6f9de4; }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-hero-note { color: #657c99; }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-capability { color: #4b668b; }
html[data-ag-theme="light"] .ag-hero-intelligence .ag-capability:hover { color: #245cf2; }
html[data-ag-theme="light"] .ag-neural-label { border-color: #c4d8f2; box-shadow: 0 15px 35px rgb(43 89 162 / 7%); }
html[data-ag-theme="light"] .ag-neural-label strong { color: #264975; }
html[data-ag-theme="light"] .ag-neural-label small { color: #6981a0; }
html[data-ag-theme="light"] .ag-neural-label-icon { color: #245cf2; background: #edf3ff; border-color: #d5e2f8; }
html[data-ag-theme="light"] .ag-intelligence-coordinate { color: #5a7ba7; }
html[data-ag-theme="light"] .ag-neural-meridians { opacity: .5; }
html[data-ag-theme="light"] .ag-neural-canvas { opacity: .85; }
@keyframes ag-neural-atmosphere { from { transform: translate3d(-1%, -1%, 0); } to { transform: translate3d(2%, 1%, 0); } }
@keyframes ag-neural-orbit { to { transform: rotate(360deg); } }
@keyframes ag-neural-signal { to { stroke-dashoffset: -670; } }
@keyframes ag-neural-core-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes ag-neural-label-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1100px) {
  .aigroup-site .ag-hero-intelligence .ag-hero-grid { min-height: 640px; gap: 0; padding-block: 65px; }
  .aigroup-site .ag-hero-intelligence .ag-hero-copy h1 { font-size: clamp(40px, 4.8vw, 54px); }
  .aigroup-site .ag-intelligence-visual { width: calc(100% + 10px); min-height: 450px; margin-left: 0; }
  .ag-neural-label { padding: 10px; gap: 8px; }
  .ag-neural-label strong { font-size: 11px; }
  .ag-neural-label small { font-size: 9px; }
  .ag-neural-label-ai { top: 70px; }
  .ag-neural-label-data { bottom: 72px; }
}
@media (max-width: 767px) {
  .aigroup-site .ag-hero-intelligence .ag-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-block: 47px 28px; }
  .aigroup-site .ag-hero-intelligence .ag-hero-copy h1 { font-size: clamp(34px, 7.5vw, 44px); line-height: 1.34; margin-top: 18px; }
  .aigroup-site .ag-hero-intelligence .ag-eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .aigroup-site .ag-hero-intelligence .ag-hero-description { max-width: 510px; margin-top: 21px !important; font-size: 16px; }
  .ag-hero-domains { gap: 7px; margin-top: 20px !important; }
  .ag-hero-domains li { font-size: 10px; padding: 5px 8px; }
  .aigroup-site .ag-hero-intelligence .ag-hero-actions { gap: 10px; margin-top: 25px; }
  .aigroup-site .ag-hero-intelligence .ag-hero-actions .ag-button { padding-inline: 16px; font-size: 13px; }
  .aigroup-site .ag-hero-intelligence .ag-hero-note { margin-top: 20px !important; font-size: 11px; }
  .aigroup-site .ag-intelligence-visual { width: min(500px, 100%); min-height: 425px; margin: 0 auto; }
  .ag-neural-label-ai { top: 68px; right: 0; }
  .ag-neural-label-data { bottom: 68px; left: 0; }
  .ag-neural-label { padding: 11px 12px; }
  .ag-neural-label-icon { width: 30px; height: 30px; }
  .ag-coordinate-top { top: 1px; font-size: 7px; letter-spacing: 1.8px; }
  .ag-coordinate-bottom { bottom: 0; font-size: 7px; letter-spacing: 1.7px; }
  .aigroup-site .ag-hero-intelligence .ag-capability { padding-block: 20px; }
  .aigroup-site .ag-hero-intelligence .ag-capability strong { font-size: 11px; }
}
@media (max-width: 479px) {
  .aigroup-site .ag-intelligence-visual { min-height: 350px; }
  .ag-neural-label { padding: 9px 10px; gap: 7px; }
  .ag-neural-label strong { font-size: 10px; }
  .ag-neural-label small { font-size: 8px; }
  .ag-neural-label-ai { top: 47px; }
  .ag-neural-label-data { bottom: 44px; }
  .ag-neural-label-icon { width: 27px; height: 27px; }
  .ag-neural-label-icon svg { width: 16px; height: 16px; }
  .aigroup-site .ag-hero-intelligence .ag-capability strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-hero-intelligence::before, .ag-neural-orbit, .ag-neural-signals path, .ag-neural-core-shell, .ag-neural-label { animation: none !important; }
  .ag-neural-signals path { stroke-dashoffset: 0; }
}
@media print {
  .aigroup-site .ag-hero.ag-hero-intelligence { --ag-hero-bg: #fff; --ag-hero-text: #142235; --ag-hero-muted: #536279; }
  .ag-neural-canvas, .ag-intelligence-visual, .ag-hero-intelligence::after { display: none !important; }
  .aigroup-site .ag-hero-intelligence .ag-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 25px; }
  .ag-hero-intelligence .ag-hero-copy h1 em { -webkit-text-fill-color: #245cf2; }
}
