/* ═══════════════════════════════════════════════════════════════
   PAGE: Implementation | Namespace: impl-*
   File: /static/css/shell/mani-implementation-ltr.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Root ── */
.pg-impl {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.6;
}
.pg-impl a { text-decoration: none; color: inherit; }
.pg-impl img { max-width: 100%; display: block; }
.pg-impl .impl-mx { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pg-impl .impl-center { text-align: center; }

/* ── Section Typography ── */
.impl-eye {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}
.impl-sh {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}
.impl-sp {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--slate);
    max-width: 700px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   01. HERO
   ════════════════════════════════════════════════════════════════ */
.impl-hero {
    position: relative;
    padding: 72px 24px 64px;
    background: var(--white);
    overflow: hidden;
}
.impl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.08), transparent 70%);
    pointer-events: none;
}
.impl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(226,232,240,.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,232,240,.45) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.impl-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.impl-hero h1 {
    font-size: 38px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.impl-hero h1 em {
    color: var(--blue);
    font-style: normal;
}
.impl-hero-sub {
    font-size: 17px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats row below hero text */
.impl-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.impl-hero-stat {
    text-align: center;
}
.impl-hero-stat .hs-num {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1;
}
.impl-hero-stat .hs-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

@media(max-width:600px) {
    .impl-hero h1 { font-size: 28px; }
    .impl-hero-stats { gap: 24px; }
    .impl-hero-stat .hs-num { font-size: 26px; }
}

/* ════════════════════════════════════════════════════════════════
   02. PATHS — 3 columns
   ════════════════════════════════════════════════════════════════ */
.impl-paths {
    padding: 80px 24px;
    background: var(--white);
}
.impl-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
}

/* Card base */
.impl-card {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-xl, 22px);
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.impl-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 32px rgba(0,0,0,.06);
}

/* Featured card accent */
.impl-card--featured {
    border: 2px solid #dbeafe;
}
.impl-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
}

/* Badge */
.impl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.impl-badge .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    background: currentColor;
}
.impl-badge--blue   { background: #eff6ff; color: #1e40af; }
.impl-badge--green  { background: #f0fdf4; color: #166534; }
.impl-badge--gray   { background: var(--snow); color: var(--slate); border: 1px solid var(--mist); }
.impl-badge--purple { background: #EEEDFE; color: #534AB7; }

/* Card text */
.impl-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
.impl-card-desc {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* Divider */
.impl-divider {
    border: none;
    border-top: 1px solid var(--mist);
    margin: 0;
}

/* Checklist */
.impl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.impl-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.5;
}
.impl-list li i {
    color: #22c55e;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 3px;
}
.impl-list li strong {
    color: var(--ink);
    font-weight: 700;
}

/* Timeline (for featured card) */
.impl-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.impl-tl-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.impl-tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.impl-tl-dot--done   { background: #22c55e; }
.impl-tl-dot--active { background: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.impl-tl-dot--empty  { background: transparent; border: 1.5px solid #cbd5e1; }
.impl-tl-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    flex: 1;
}
.impl-tl-time {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
}

/* Flow steps (for partner card) */
.impl-flow {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.impl-flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--snow);
    transition: background .2s;
}
.impl-flow-step:hover {
    background: #eff6ff;
}
.impl-flow-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.impl-flow-icon--blue  { background: #dbeafe; color: var(--blue); }
.impl-flow-icon--green { background: #dcfce7; color: #16a34a; }
.impl-flow-icon svg { width: 14px; height: 14px; }
.impl-flow-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.impl-flow-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate);
}

@media(max-width:900px) {
    .impl-paths-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ════════════════════════════════════════════════════════════════
   03. AI AGENT — full-width card
   ════════════════════════════════════════════════════════════════ */
.impl-ai {
    padding: 0 24px 80px;
    background: var(--white);
}
.impl-ai-card {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid #DDD8FC;
    border-radius: var(--r-xl, 22px);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.impl-ai-card:hover {
    border-color: #AFA9EC;
    box-shadow: 0 10px 32px rgba(83,74,183,.08);
}

/* Subtle purple glow */
.impl-ai-card::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(83,74,183,.06);
    border-radius: 50%;
    filter: blur(60px);
    top: -80px;
    right: -60px;
    pointer-events: none;
}

.impl-ai-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.impl-ai-header-text {
    flex: 1;
    min-width: 220px;
}
.impl-ai-title {
    font-size: 22px;
    font-weight: 700;
    color: #3C3489;
    margin: 8px 0 6px;
    line-height: 1.3;
}
.impl-ai-desc {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* AI steps grid */
.impl-ai-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
}
.impl-ai-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid #DDD8FC;
    border-radius: 14px;
    background: #FAFAFF;
    transition: border-color .2s, background .2s;
}
.impl-ai-step:hover {
    border-color: #AFA9EC;
    background: #F3F2FE;
}
.impl-ai-step-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #DDDAFC;
    color: #534AB7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.impl-ai-step-icon svg { width: 14px; height: 14px; }
.impl-ai-step-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.impl-ai-step-content strong {
    font-size: 14px;
    font-weight: 700;
    color: #3C3489;
    line-height: 1.3;
}
.impl-ai-step-content span {
    font-size: 12px;
    font-weight: 600;
    color: #7F77DD;
}

.impl-ai-btn {
    color: #534AB7 !important;
    border-color: #AFA9EC !important;
    white-space: nowrap;
        display: none;
}
.impl-ai-btn:hover {
    background: #EEEDFE !important;
}

@media(max-width:900px) {
    .impl-ai-steps { grid-template-columns: 1fr 1fr; }
    .impl-ai-header { flex-direction: column; gap: 14px; }
    .impl-ai-btn { width: 100%; justify-content: center; }
}
@media(max-width:560px) {
    .impl-ai-steps { grid-template-columns: 1fr; }
    .impl-ai-card { padding: 24px 18px; }
}

/* ════════════════════════════════════════════════════════════════
   04. JOURNEY TIMELINE
   ════════════════════════════════════════════════════════════════ */
.impl-journey {
    padding: 80px 24px;
    background: var(--white);
}
.impl-jtrack {
    max-width: 700px;
    margin: 0 auto;
}
.impl-jstep {
    display: flex;
    gap: 18px;
}
.impl-jleft {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
}
.impl-jnum {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--blue-l);
    color: var(--blue);
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}
.impl-jstep:last-child .impl-jnum {
    background: #dcfce7;
    color: #16a34a;
}
.impl-jline {
    width: 2px;
    flex-grow: 1;
    background: var(--mist);
    margin: 4px 0;
}
.impl-jstep:last-child .impl-jline { display: none; }
.impl-jcard {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-xl, 22px);
    padding: 26px 24px;
    flex-grow: 1;
    margin-bottom: 16px;
    transition: border-color .25s, box-shadow .25s;
}
.impl-jcard:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
.impl-jcard h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.impl-jcard .impl-jt {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}
.impl-jcard p {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.7;
    margin: 0 0 10px;
}
.impl-jtags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.impl-jtags span {
    padding: 4px 10px;
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--slate);
}

/* Scroll reveal */
.impl-jcard,
.impl-card,
.impl-ai-step {
    opacity: 0;
    animation: none;
}
.impl-jcard.impl-vis,
.impl-card.impl-vis,
.impl-ai-step.impl-vis {
    animation: mni-rise .5s cubic-bezier(.22,1,.36,1) both;
}

/* ════════════════════════════════════════════════════════════════
   05. COMPARISON TABLE
   ════════════════════════════════════════════════════════════════ */
.impl-compare {
    padding: 80px 24px;
    background: var(--white);
}
.impl-compare-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--mist);
    border-radius: var(--r-xl, 22px);
    overflow: hidden;
}
.impl-compare-row {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    border-bottom: 1px solid var(--mist);
}
.impl-compare-row:last-child { border-bottom: none; }
.impl-compare-row--head {
    background: var(--ink);
    color: #fff;
}
.impl-compare-row--head .impl-compare-cell {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.impl-compare-row--alt { background: var(--snow); }

.impl-compare-cell {
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
    display: flex;
    align-items: center;
}
.impl-compare-cell:first-child {
    font-weight: 700;
    color: var(--ink);
}
.impl-compare-cell .ic-yes {
    color: #22c55e;
    font-size: 16px;
}
.impl-compare-cell .ic-no {
    color: #ef4444;
    font-size: 14px;
}
.impl-compare-cell .ic-partial {
    color: #f59e0b;
    font-size: 14px;
}

@media(max-width:700px) {
    .impl-compare-row { grid-template-columns: 1.4fr repeat(3, 1fr); }
    .impl-compare-cell { padding: 12px 10px; font-size: 12px; }
}
@media(max-width:500px) {
    .impl-compare-row { grid-template-columns: 1fr; }
    .impl-compare-cell:first-child {
        background: var(--snow);
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* ════════════════════════════════════════════════════════════════
   06. CTA
   ════════════════════════════════════════════════════════════════ */
.impl-cta {
    padding: 80px 24px;
    background: var(--white);
}
.impl-cta-box {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background: var(--ink);
    border-radius: var(--r-xl, 22px);
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
}
.impl-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}
.impl-cta-box::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(37,99,235,.15);
    border-radius: 50%;
    filter: blur(70px);
    top: -80px;
    right: -60px;
    pointer-events: none;
}
.impl-cta-box h3 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    letter-spacing: -.3px;
}
.impl-cta-box .impl-cta-p {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.impl-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

