/* ============================================================
   AI Employee – page styles
   Scoped with .aie- prefix so it won't interfere with the rest
   of the Webnexs site or the global header/footer styles.
   ============================================================ */

/* Use the site's Graphik files without browser-synthesized bold. */
@font-face {
    font-family: "AieGraphik";
    src: url("/fonts/graphikregular-webfont.woff2") format("woff2");
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AieGraphik";
    src: url("/fonts/graphikmedium-webfont.woff2") format("woff2");
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

.aie-page {
    --aie-indigo: #4f46e5;
    --aie-indigo-dark: #312e81;
    --aie-violet: #7c3aed;
    --aie-orange: #ff5c35;
    --aie-orange-dark: #e64a24;
    --aie-ink: #0f172a;
    --aie-slate: #475569;
    --aie-muted: #566377;
    --aie-line: #e2e8f0;
    --aie-soft: #f8fafc;
    --aie-white: #ffffff;
    --aie-radius: 18px;
    --aie-btn-radius: 8px;
    background: #ffffff;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-synthesis-weight: none;
}

.aie-page *,
.aie-page *::before,
.aie-page *::after {
    box-sizing: border-box;
}

.aie-page a {
    text-decoration: none;
}

.aie-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.aie-main {
    overflow: hidden;
    padding-top: 0 !important;
}

/* The rest of the site forces every span to 600; that made labels and
   headlines look heavy. Let spans inherit unless we style them explicitly. */
:where(.aie-page) span {
    font-weight: inherit;
}

.aie-page strong {
    font-weight: 600;
}

/* ---------- Site header (page-scoped cleanup) ---------- */

.aie-page nav.navbar {
    position: sticky !important;
    top: 0;
    width: 100%;
    min-height: 72px;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e8edf4;
    background: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    z-index: 1030;
}

.aie-page nav.navbar > .container {
    display: flex;
    align-items: center;
    min-height: 72px;
    max-width: 1200px;
    padding: 0 24px;
}

.aie-page nav .navbar-brand {
    flex: 0 0 auto;
    margin: 0 30px 0 0 !important;
    padding: 0 !important;
}

.aie-page nav .navbar-brand img {
    width: 134px !important;
    height: 26px !important;
    margin: 0 !important;
}

.aie-page nav .navbar-collapse {
    align-items: center;
    margin-top: 0 !important;
}

.aie-page nav .navbar-nav {
    align-items: center;
    gap: 2px;
    background: transparent !important;
}

.aie-page nav .navbar-nav.mt-17 {
    margin-top: 0 !important;
}

.aie-page nav .nav-item.dropdown {
    margin-right: 0 !important;
}

.aie-page nav .has-megamenu {
    padding: 0 !important;
}

.aie-page nav .navbar-nav .nav-link {
    padding: 10px 12px !important;
    border-radius: 8px;
    color: #334155 !important;
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    transition: color 0.18s ease, background 0.18s ease;
}

.aie-page nav .navbar-nav .nav-link:hover,
.aie-page nav .navbar-nav .nav-link:focus {
    color: var(--aie-indigo) !important;
    background: #eef2ff !important;
    font-weight: 500 !important;
}

.aie-page nav .navbar-nav .nav-link i {
    margin-left: 2px;
    font-size: 10px !important;
    opacity: 0.55;
}

.aie-page nav .navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: var(--aie-btn-radius);
    background: #ffffff;
    box-shadow: none !important;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.aie-page nav .navbar-toggler:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.aie-page nav .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

/* Bootstrap's navbar-dark icon is white-on-white here; draw our own bars */
.aie-page nav .navbar-toggler-icon {
    position: relative;
    width: 20px;
    height: 14px;
    background-image: none !important;
}

.aie-page nav .navbar-toggler-icon::before,
.aie-page nav .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--aie-ink);
    transition: transform 0.25s ease, top 0.25s ease, box-shadow 0.25s ease;
}

.aie-page nav .navbar-toggler-icon::before {
    top: 0;
    box-shadow: 0 6px 0 var(--aie-ink);
}

.aie-page nav .navbar-toggler-icon::after {
    top: 12px;
}

.aie-page nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 6px;
    box-shadow: none;
    transform: rotate(45deg);
}

.aie-page nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 6px;
    transform: rotate(-45deg);
}

/* Keep the logo + toggle row at 64px when the menu expands */
@media (max-width: 991.98px) {
    .aie-page nav.navbar {
        align-content: flex-start;
    }

    .aie-page nav .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .aie-page nav .navbar-brand {
        display: flex;
        align-items: center;
        min-height: 64px;
    }
}

/* Mega-menu headings were being forced to 900 */
.aie-page nav .bold,
.aie-page nav span.title {
    font-weight: 600 !important;
}

.aie-page nav .dropdown-item {
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.aie-page nav .dropdown-item:hover {
    color: var(--aie-indigo) !important;
    background: #eef2ff !important;
}

.aie-page nav .dropdown-menu[data-bs-popper],
.aie-page nav .has-megamenu .dropdown-menu[data-bs-popper] {
    top: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 0 14px 14px;
}

.aie-page nav .nav-item.dropdown:not(.has-megamenu) > .dropdown-menu {
    top: calc(100% + 19px) !important;
    left: 0 !important;
    width: 262px !important;
    min-width: 262px !important;
    max-width: 280px !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid #e6ebf2;
    border-radius: 12px !important;
    box-shadow: 0 20px 44px -14px rgba(15, 23, 42, 0.22) !important;
}

.aie-page nav .nav-item.dropdown:not(.has-megamenu) .dropdown-item {
    padding: 9px 12px !important;
    border-radius: 8px;
    line-height: 1.35;
}

.aie-main section[id] {
    scroll-margin-top: 88px;
}

/* ---------- Shared typography ---------- */

.aie-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--aie-indigo);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aie-kicker-light {
    color: #c7d2fe;
}

.aie-section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.aie-section-head h2,
.aie-benefits-copy h2,
.aie-hire-copy h2,
.aie-faq-copy h2 {
    margin: 0 0 14px;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.aie-section-head p,
.aie-benefits-copy > p,
.aie-hire-copy > p,
.aie-faq-copy > p {
    margin: 0;
    color: var(--aie-muted);
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.75;
}

.aie-hire-copy h2 {
    color: #ffffff;
}

.aie-hire-copy > p {
    color: #cbd5e1;
}

.aie-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--aie-indigo);
    font-weight: 600;
    font-size: 14.5px;
}

.aie-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.aie-link:hover {
    color: var(--aie-indigo-dark);
}

.aie-link:hover i {
    transform: translateX(4px);
}

/* ---------- Buttons ---------- */

.aie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: var(--aie-btn-radius);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.aie-btn:hover {
    transform: translateY(-2px);
}

.aie-btn i {
    font-size: 13px;
}

.aie-btn-primary {
    background: var(--aie-orange);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(255, 92, 53, 0.3);
}

.aie-btn-primary:hover {
    background: var(--aie-orange-dark);
    box-shadow: 0 16px 34px rgba(255, 92, 53, 0.38);
}

.aie-btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.aie-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.aie-btn-light {
    background: #ffffff;
    color: var(--aie-indigo-dark);
}

.aie-btn-light:hover {
    background: #eef2ff;
}

.aie-btn-block {
    width: 100%;
}

/* Bootstrap's global a:hover color was turning button labels blue */
.aie-page .aie-btn-primary,
.aie-page .aie-btn-primary:link,
.aie-page .aie-btn-primary:visited,
.aie-page .aie-btn-primary:hover,
.aie-page .aie-btn-primary:focus,
.aie-page .aie-btn-primary:active {
    color: #ffffff;
}

.aie-page .aie-btn-ghost,
.aie-page .aie-btn-ghost:link,
.aie-page .aie-btn-ghost:visited,
.aie-page .aie-btn-ghost:hover,
.aie-page .aie-btn-ghost:focus,
.aie-page .aie-btn-ghost:active {
    color: #ffffff;
}

.aie-page .aie-btn-light,
.aie-page .aie-btn-light:link,
.aie-page .aie-btn-light:visited,
.aie-page .aie-btn-light:hover,
.aie-page .aie-btn-light:focus,
.aie-page .aie-btn-light:active {
    color: var(--aie-indigo-dark);
}

.aie-page .aie-dash-btn,
.aie-page .aie-dash-btn:link,
.aie-page .aie-dash-btn:visited,
.aie-page .aie-dash-btn:hover,
.aie-page .aie-dash-btn:focus,
.aie-page .aie-dash-btn:active {
    color: var(--aie-indigo-dark);
}

/* ---------- Hero ---------- */

.aie-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 0 96px;
    background:
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.35), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(168, 85, 247, 0.3), transparent 34%),
        linear-gradient(135deg, #0b1026 0%, #1e1b4b 48%, #3b0764 100%);
}

.aie-hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.aie-hero-glow-1 {
    width: 380px;
    height: 380px;
    top: -180px;
    left: -120px;
    background: #6366f1;
}

.aie-hero-glow-2 {
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -200px;
    background: #a855f7;
}

.aie-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 64px;
}

.aie-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #e0e7ff;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.aie-pulse {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: aie-pulse 2s infinite;
}

@keyframes aie-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.aie-hero-copy h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.aie-hero-copy h1 span {
    color: #c4b5fd;
    font-weight: inherit;
}

.aie-hero-text {
    max-width: 540px;
    margin: 0 0 28px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.75;
}

.aie-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.aie-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
    font-size: 14px;
}

.aie-hero-points i {
    margin-right: 6px;
    color: #34d399;
}

/* Dashboard mockup */

.aie-hero-visual {
    position: relative;
}

.aie-dashboard {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.aie-dash-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.aie-dash-label {
    display: block;
    margin-bottom: 6px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.aie-dash-head strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}

.aie-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.14);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.aie-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
}

.aie-dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 18px 0;
}

.aie-dash-metric {
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.aie-dash-metric span {
    display: block;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 11px;
}

.aie-dash-metric strong {
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
}

.aie-dash-progress {
    padding: 4px 0 16px;
}

.aie-dash-progress-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 12px;
}

.aie-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.aie-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #818cf8, #c084fc);
}

.aie-dash-queue {
    display: grid;
    gap: 8px;
    padding: 14px 0 18px;
}

.aie-queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.aie-queue-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: rgba(129, 140, 248, 0.18);
    color: #c7d2fe;
    font-size: 13px;
}

.aie-queue-item div {
    min-width: 0;
}

.aie-queue-item strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aie-queue-item small {
    display: block;
    overflow: hidden;
    color: #94a3b8;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aie-queue-check {
    margin-left: auto;
    color: #34d399;
    font-size: 13px;
}

.aie-dash-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border-radius: var(--aie-btn-radius);
    background: #ffffff;
    color: var(--aie-indigo-dark);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.aie-dash-btn:hover {
    background: #eef2ff;
    transform: translateY(-1px);
}

/* ---------- Stats strip ---------- */

.aie-stats-strip {
    border-bottom: 1px solid var(--aie-line);
    background: #ffffff;
}

.aie-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.aie-stat {
    padding: 30px 24px;
    text-align: center;
    border-right: 1px solid var(--aie-line);
}

.aie-stat:last-child {
    border-right: 0;
}

.aie-stat strong {
    display: block;
    margin-bottom: 4px;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.aie-stat span {
    color: var(--aie-muted);
    font-size: 13px;
    font-weight: 400;
}

/* ---------- Section rhythm ---------- */

.aie-section {
    padding: 84px 0;
}

.aie-section-soft {
    background: var(--aie-soft);
}

/* ---------- How it works ---------- */

.aie-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.aie-step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--aie-line);
    border-radius: var(--aie-radius);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aie-step:hover {
    transform: translateY(-6px);
    border-color: #c7d2fe;
    box-shadow: 0 24px 50px rgba(79, 70, 229, 0.12);
}

.aie-step-num {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #dbe3ee;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.aie-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: #eef2ff;
    color: var(--aie-indigo);
    font-size: 20px;
}

.aie-step h3 {
    margin: 0 0 8px;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 18.5px;
    font-weight: 600;
}

.aie-step p {
    margin: 0;
    color: var(--aie-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ---------- Agents ---------- */

.aie-agents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.aie-agent-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--aie-line);
    border-radius: var(--aie-radius);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aie-agent-card:hover {
    transform: translateY(-6px);
    border-color: #c7d2fe;
    box-shadow: 0 24px 50px rgba(79, 70, 229, 0.13);
}

.aie-agent-card-custom {
    background: linear-gradient(160deg, #eef2ff 0%, #faf5ff 100%);
    border-color: #ddd6fe;
}

.aie-agent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: #eef2ff;
    color: var(--aie-indigo);
    font-size: 20px;
}

.aie-agent-card-custom .aie-agent-icon {
    background: #ede9fe;
    color: var(--aie-violet);
}

.aie-agent-card h3 {
    margin: 0 0 8px;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 18.5px;
    font-weight: 600;
}

.aie-agent-card > p {
    margin: 0 0 16px;
    color: var(--aie-muted);
    font-size: 15px;
    line-height: 1.7;
}

.aie-agent-card ul {
    display: grid;
    gap: 8px;
    margin: 0 0 8px;
    padding: 14px 0 0;
    border-top: 1px solid var(--aie-line);
    list-style: none;
}

.aie-agent-card li {
    position: relative;
    padding-left: 20px;
    color: var(--aie-slate);
    font-size: 14px;
    line-height: 1.55;
}

.aie-agent-card li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 1px;
    color: #10b981;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: 900;
}

.aie-agent-card .aie-link {
    margin-top: auto;
    padding-top: 16px;
}

/* Custom banner */

.aie-custom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding: 32px 36px;
    border-radius: 24px;
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
    color: #ffffff;
    box-shadow: 0 22px 50px rgba(49, 46, 129, 0.28);
}

.aie-custom-banner h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 21px;
    font-weight: 600;
}

.aie-custom-banner p {
    margin: 0;
    color: #c7d2fe;
    font-size: 14.5px;
    line-height: 1.65;
}

.aie-custom-banner .aie-btn {
    flex: 0 0 auto;
}

/* ---------- Benefits ---------- */

.aie-benefits {
    background:
        radial-gradient(circle at 82% 18%, rgba(124, 58, 237, 0.1), transparent 44%),
        linear-gradient(160deg, #f8f6ff 0%, #f3f6ff 55%, #eef2ff 100%);
}

.aie-benefits-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 60px;
}

.aie-benefit-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.aie-benefit {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.aie-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--aie-indigo);
    font-size: 16px;
}

.aie-benefit h3 {
    margin: 0 0 5px;
    color: var(--aie-ink);
    font-size: 15.5px;
    font-weight: 600;
}

.aie-benefit p {
    margin: 0;
    color: var(--aie-muted);
    font-size: 13px;
    line-height: 1.6;
}

.aie-benefits-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    background:
        radial-gradient(circle at 85% 12%, rgba(168, 85, 247, 0.38), transparent 48%),
        linear-gradient(150deg, #1e1b4b 0%, #312e81 58%, #4c1d95 100%);
    box-shadow: 0 26px 60px rgba(30, 27, 75, 0.28);
}

.aie-benefits-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    color: #ffffff;
    font-size: 20px;
}

.aie-benefits-card h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
}

.aie-benefits-card > p {
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

.aie-benefits-card-foot {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #a5b4fc;
    font-size: 12px;
}

.aie-benefits-card-foot strong {
    display: block;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}

/* ---------- Use cases ---------- */

.aie-usecases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.aie-usecase {
    padding: 30px;
    border: 1px solid var(--aie-line);
    border-radius: var(--aie-radius);
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aie-usecase:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.09);
}

.aie-usecase-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--aie-indigo);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.aie-usecase h3 {
    margin: 0 0 8px;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 18.5px;
    font-weight: 600;
}

.aie-usecase p {
    margin: 0 0 24px;
    color: var(--aie-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.aie-usecase-metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--aie-line);
}

.aie-usecase-metric strong {
    color: var(--aie-indigo);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.aie-usecase-metric span {
    color: var(--aie-muted);
    font-size: 13px;
}

/* ---------- Integrations ---------- */

.aie-integrations {
    padding: 34px 0;
    border-top: 1px solid var(--aie-line);
    border-bottom: 1px solid var(--aie-line);
    background: #ffffff;
}

.aie-integrations-label {
    margin: 0 0 16px;
    color: var(--aie-muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.aie-integration-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.aie-integration-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--aie-line);
    border-radius: 999px;
    background: var(--aie-soft);
    color: var(--aie-slate);
    font-size: 13px;
    font-weight: 500;
}

.aie-integration-pills i {
    color: var(--aie-indigo);
    font-size: 13px;
}

/* ---------- FAQ ---------- */

.aie-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
}

.aie-faq-copy {
    position: sticky;
    top: 28px;
}

.aie-faq-copy .aie-link {
    margin-top: 22px;
}

.aie-faq-list {
    display: grid;
    gap: 12px;
}

.aie-faq-list details {
    border: 1px solid var(--aie-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.aie-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: var(--aie-ink);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.aie-faq-list summary::-webkit-details-marker {
    display: none;
}

.aie-faq-list summary::after {
    content: "\f078";
    flex: 0 0 auto;
    color: var(--aie-indigo);
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.aie-faq-list details[open] summary::after {
    transform: rotate(180deg);
}

.aie-faq-list details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--aie-muted);
    font-size: 15px;
    line-height: 1.75;
}

/* ---------- Hire / form ---------- */

.aie-hire {
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.28), transparent 34%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.22), transparent 36%),
        linear-gradient(135deg, #0b1026 0%, #1e1b4b 50%, #3b0764 100%);
}

.aie-hire-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
}

.aie-hire-points {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.aie-hire-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.5;
}

.aie-hire-points i {
    margin-top: 3px;
    color: #34d399;
    font-size: 13px;
}

.aie-hire-note {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #a5b4fc;
    font-size: 14px;
}

.aie-hire-note strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
}

.aie-hire-note a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aie-form-card {
    padding: 36px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.aie-form-card h3 {
    margin: 0 0 8px;
    color: var(--aie-ink);
    font-family: "AieGraphik", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 23px;
    font-weight: 600;
}

.aie-form-card > p {
    margin: 0 0 24px;
    color: var(--aie-muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.aie-form {
    display: grid;
    gap: 16px;
}

.aie-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.aie-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--aie-ink);
    font-size: 12.5px;
    font-weight: 500;
}

.aie-field input,
.aie-field select,
.aie-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--aie-ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aie-field input::placeholder,
.aie-field textarea::placeholder {
    color: #94a3b8;
}

.aie-field input:focus,
.aie-field select:focus,
.aie-field textarea:focus {
    outline: none;
    border-color: var(--aie-indigo);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.aie-field textarea {
    resize: vertical;
    min-height: 110px;
}

.aie-form .aie-btn {
    margin-top: 4px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.aie-form-privacy {
    margin: 0;
    color: #94a3b8;
    font-size: 11.5px;
    text-align: center;
}

.aie-form-privacy i {
    margin-right: 5px;
    color: #10b981;
}

/* ---------- Responsive ---------- */

@media (min-width: 992px) and (max-width: 1199px) {
    .aie-page nav .navbar-brand {
        margin-right: 14px !important;
    }

    .aie-page nav .navbar-brand img {
        width: 118px !important;
    }

    .aie-page nav .navbar-nav .nav-link {
        padding: 9px 8px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 1080px) {
    .aie-hero-grid,
    .aie-benefits-grid,
    .aie-hire-grid {
        gap: 40px;
    }

    .aie-faq-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .aie-page nav.navbar,
    .aie-page nav.navbar > .container {
        min-height: 64px;
    }

    .aie-page nav.navbar > .container {
        padding: 0 18px;
    }

    .aie-page nav .navbar-brand {
        margin-right: 0 !important;
    }

    .aie-page nav .navbar-brand img {
        width: 120px !important;
        height: 24px !important;
    }

    .aie-page nav .navbar-collapse {
        max-height: calc(100vh - 88px);
        padding: 10px 0 16px;
        border-top: 1px solid #eef2f7;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .aie-page nav .navbar-nav {
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }

    .aie-page nav .navbar-nav.ms-auto {
        margin-left: 0 !important;
    }

    .aie-page nav .navbar-nav .nav-link {
        padding: 11px 12px !important;
        font-size: 14.5px !important;
    }

    .aie-page nav .nav-item.dropdown {
        width: 100%;
    }

    .aie-page nav .navbar-collapse .dropdown-menu,
    .aie-page nav .has-megamenu .dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 4px 0 8px !important;
        padding: 8px !important;
        border: 1px solid #eef2f7 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .aie-main section[id] {
        scroll-margin-top: 76px;
    }

    .aie-hero {
        padding: 68px 0 76px;
    }

    .aie-hero-grid,
    .aie-benefits-grid,
    .aie-hire-grid,
    .aie-faq-grid {
        grid-template-columns: 1fr;
    }

    .aie-hero-visual {
        max-width: 560px;
    }

    .aie-faq-copy {
        position: static;
    }

    .aie-section {
        padding: 72px 0;
    }

    .aie-steps,
    .aie-agents,
    .aie-usecases {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .aie-container {
        padding: 0 18px;
    }

    .aie-hero {
        padding: 52px 0 64px;
    }

    .aie-hero-copy h1 {
        font-size: 36px;
    }

    .aie-hero-text {
        font-size: 16px;
    }

    .aie-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .aie-hero-actions .aie-btn {
        width: 100%;
    }

    .aie-hero-points {
        gap: 12px;
        font-size: 13px;
    }

    .aie-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aie-stat {
        padding: 22px 14px;
        border-bottom: 1px solid var(--aie-line);
    }

    .aie-stat:nth-child(2) {
        border-right: 0;
    }

    .aie-stat:nth-child(3),
    .aie-stat:nth-child(4) {
        border-bottom: 0;
    }

    .aie-section {
        padding: 60px 0;
    }

    .aie-section-head {
        margin-bottom: 36px;
    }

    .aie-steps,
    .aie-agents,
    .aie-usecases,
    .aie-benefit-list {
        grid-template-columns: 1fr;
    }

    .aie-custom-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
    }

    .aie-custom-banner .aie-btn {
        width: 100%;
    }

    .aie-form-row {
        grid-template-columns: 1fr;
    }

    .aie-form-card {
        padding: 24px;
    }

    .aie-benefits-card {
        padding: 26px;
    }
}

@media (max-width: 479px) {
    .aie-hero-copy h1 {
        font-size: 31px;
    }

    .aie-dash-metrics {
        grid-template-columns: 1fr;
    }

    .aie-stats-grid {
        grid-template-columns: 1fr;
    }

    .aie-stat {
        border-right: 0;
    }

    .aie-stat:nth-child(3) {
        border-bottom: 1px solid var(--aie-line);
    }
}

/* ---------- Uniform 8px radius system ----------
   Buttons, inputs, badges, chips, icon tiles, cards and panels all share
   one radius. Only true circles (pulse dot, glows, progress bar) stay round. */

.aie-page .aie-eyebrow,
.aie-page .aie-status,
.aie-page .aie-usecase-tag,
.aie-page .aie-integration-pills span,
.aie-page .aie-field input,
.aie-page .aie-field select,
.aie-page .aie-field textarea,
.aie-page .aie-step,
.aie-page .aie-step-icon,
.aie-page .aie-agent-card,
.aie-page .aie-agent-icon,
.aie-page .aie-usecase,
.aie-page .aie-benefit,
.aie-page .aie-benefit-icon,
.aie-page .aie-benefits-card,
.aie-page .aie-benefits-card-icon,
.aie-page .aie-custom-banner,
.aie-page .aie-dashboard,
.aie-page .aie-dash-metric,
.aie-page .aie-queue-item,
.aie-page .aie-queue-icon,
.aie-page .aie-form-card,
.aie-page .aie-faq-list details {
    border-radius: var(--aie-btn-radius);
}
