/* ===== ANIMATION 1: AI Agent Loan Processor ===== */
.aero-ai-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #293241;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
}
.aaa-status {
    position: absolute; top: 5%; left: 5%;
    font-size: 11px; color: #b8d4e8;
    text-transform: uppercase; letter-spacing: 0.12em;
    opacity: 0; z-index: 10; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 90%;
}
.aaa-status.aaa-vis { opacity: 1; transition: opacity 0.6s ease; }
.aaa-doc {
    position: absolute; left: 5%; top: 14%;
    width: 52%; height: 60%;
    background: #fff; padding: 6% 7%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    transform: translateX(-160%); opacity: 0;
    z-index: 10; box-sizing: border-box;
}
.aaa-doc.aaa-in { animation: aaaDocSlide 1.3s cubic-bezier(0.19,1,0.22,1) forwards; }
@keyframes aaaDocSlide { to { transform: translateX(0); opacity: 1; } }
.aaa-doc-id {
    font-size: 10px; color: #64748b;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 9%; font-weight: 500;
}
.aaa-doc-lines { position: relative; }
.aaa-line { height: 5px; background: #f1f5f9; margin-bottom: 6%; border-radius: 1px; position: relative; }
.aaa-line-sm { width: 28%; } .aaa-line-md { width: 65%; } .aaa-line-lg { width: 90%; }
.aaa-hl {
    position: absolute; top: -2px; bottom: -2px; left: 0;
    background: #b8860b; opacity: 0; border-radius: 1px; transform-origin: left;
}
.aaa-hl.aaa-on { animation: aaaHlPop 0.5s ease forwards; }
@keyframes aaaHlPop { to { opacity: 0.22; } }
.aaa-tag {
    position: absolute; top: 50%; right: 0;
    transform: translateY(-50%) translateX(10px);
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    background: #293241; color: #e2e8f0; padding: 2px 5px;
    border-radius: 2px; opacity: 0; white-space: nowrap; letter-spacing: 0.04em;
}
.aaa-tag.aaa-on { animation: aaaTagPop 0.3s ease forwards; }
@keyframes aaaTagPop { to { opacity: 1; transform: translateY(-50%) translateX(0); } }
.aaa-prog-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(0,0,0,0.04); }
.aaa-prog { height: 100%; width: 0%; background: linear-gradient(90deg, #3d5a80, #98c1d9); }
.aaa-right { position: absolute; right: 4%; top: 14%; width: 36%; z-index: 10; }
.aaa-field { margin-bottom: 8%; opacity: 0; transform: translateY(10px); }
.aaa-field.aaa-vis { animation: aaaFieldIn 0.5s ease forwards; }
@keyframes aaaFieldIn { to { opacity: 1; transform: translateY(0); } }
.aaa-field-code { font-size: 13px; color: #c5dff0; margin-bottom: 4px; min-height: 1em; font-weight: 600; }
.aaa-field-lbl { font-size: 11px; color: #94a3b8; line-height: 1.45; font-family: 'Be Vietnam Pro', -apple-system, sans-serif; }
.aaa-pills { margin-top: 6px; display: flex; gap: 5px; }
.aaa-pill { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 7px; border-radius: 3px; }
.aaa-pill-pend { background: #d97706; color: #fff; }
.aaa-pill-clear { background: #16a34a; color: #fff; display: none; }
.aaa-pills.aaa-confirmed .aaa-pill-pend { display: none; }
.aaa-pills.aaa-confirmed .aaa-pill-clear { display: inline-block; }
.aaa-ann {
    position: absolute; bottom: 18%; left: 5%; width: 54%;
    font-style: italic; font-size: 11px; color: #1e293b;
    background: #f8fafc; padding: 3% 4%;
    border-left: 2px solid #98c1d9;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    opacity: 0; z-index: 20; line-height: 1.5;
    font-family: -apple-system, sans-serif;
}
.aaa-ann.aaa-vis { animation: aaaFadeUp 0.6s ease forwards; }
@keyframes aaaFadeUp { to { opacity: 1; } }
.aaa-archive {
    position: absolute; bottom: 4%; right: 4%; width: 34%;
    background: #1a2332; padding: 5% 6%; border-radius: 6px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.45);
    transform: translateY(130%); z-index: 30;
    font-size: 11px; color: #e2e8f0;
}
.aaa-archive.aaa-vis { animation: aaaArchIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes aaaArchIn { to { transform: translateY(0); } }
.aaa-arch-lbl { font-size: 9px; color: #d4a843; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; font-weight: 700; }
.aaa-arch-id { color: #f1f5f9; font-weight: 700; font-size: 10px; margin-bottom: 4px; }
.aaa-arch-div { height: 1px; background: rgba(255,255,255,0.07); margin: 5% 0; }
.aaa-arch-status { font-size: 10px; color: #94a3b8; }
.aaa-footer { position: absolute; bottom: 3.5%; left: 5%; font-size: 10px; color: #94a3b8; opacity: 0; }
.aaa-footer.aaa-vis { animation: aaaFadeUp 0.6s ease forwards; }

/* ===== ANIMATION 2: Workflow Builder ===== */
.aero-wf-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6% 7%;
    box-sizing: border-box;
}
.awf-top-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.12em; color: #64748b; margin-bottom: 6px; align-self: flex-start;
}
.awf-sublabel { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 7%; align-self: flex-start; }
.awf-pipeline {
    display: flex; align-items: center; gap: 0;
    margin-bottom: 6%; width: 100%; justify-content: center; flex-wrap: nowrap;
}
.awf-stage {
    background: #fff; border: 1.5px solid #e2e8f0; color: #293241;
    font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 6px;
    white-space: nowrap; opacity: 0; transform: translateY(-12px) scale(0.9);
    box-shadow: 0 2px 8px rgba(41,50,65,0.08); flex-shrink: 0;
}
.awf-stage.awf-vis { animation: awfStageIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes awfStageIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.awf-stage.awf-active { background: #293241; color: #fff; border-color: #293241; }
.awf-arrow { color: #cbd5e1; font-size: 11px; margin: 0 3px; opacity: 0; flex-shrink: 0; line-height: 1; }
.awf-arrow.awf-vis { opacity: 1; transition: opacity 0.3s ease; }
.awf-rules-area { width: 100%; display: flex; flex-direction: column; gap: 7px; margin-bottom: 6%; }
.awf-rule {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 11px 14px; font-size: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    opacity: 0; transform: translateX(-18px);
}
.awf-rule.awf-vis { animation: awfRuleIn 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes awfRuleIn { to { opacity: 1; transform: translateX(0); } }
.awf-rule-if { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; flex-shrink: 0; }
.awf-rule-cond { font-family: 'Courier New', monospace; font-size: 12px; font-weight: 600; color: #1e3a5f; flex-shrink: 0; }
.awf-rule-then { color: #94a3b8; flex-shrink: 0; font-size: 14px; }
.awf-rule-act { font-size: 12px; font-weight: 600; color: #293241; background: #f1f5f9; padding: 3px 10px; border-radius: 4px; flex-shrink: 0; }
#awf-r1 .awf-rule-act { background: #dbeafe; color: #1d4ed8; }
#awf-r2 .awf-rule-act { background: #fef3c7; color: #92400e; }
#awf-r3 .awf-rule-act { background: #dcfce7; color: #166534; }
.awf-saved {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: #15803d;
    background: #dcfce7; padding: 8px 16px; border-radius: 100px;
    opacity: 0; transform: scale(0.8); margin-bottom: 5%;
}
.awf-saved.awf-vis { animation: awfSavedPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes awfSavedPop { to { opacity: 1; transform: scale(1); } }
.awf-stats { font-size: 12px; color: #475569; display: flex; align-items: center; gap: 6px; opacity: 0; margin-bottom: 3%; }
.awf-stats.awf-vis { animation: awfFadeIn 0.5s ease forwards; }
@keyframes awfFadeIn { to { opacity: 1; } }
.awf-stat-num { font-weight: 700; color: #1e293b; font-size: 14px; }
.awf-stat-sep { color: #94a3b8; }
.awf-footer-note { font-size: 11px; color: #64748b; opacity: 0; text-align: center; }
.awf-footer-note.awf-vis { animation: awfFadeIn 0.5s ease forwards; }

/* ===== Layout containment ===== */
#lqd-contents-wrap {
    width: 100%;
    max-width: 100%;
}

.business-solutions .module-pillars-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.aero-anim-panel {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    min-height: 500px;
}

.select-projects .container > .w-full.flex,
.case-studies .container > .w-full.flex {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
}

/* ===== Section content readability ===== */
.aero-section-content {
    padding: 48px 56px;
}

.aero-section-content .aero-section-head {
    margin-bottom: 8px;
}

.aero-section-content .aero-section-head h2 {
    margin-bottom: 14px;
}

.aero-section-content .aero-subhead {
    font-size: 17px;
    line-height: 1.55;
    color: #3C4B62;
    margin-bottom: 0;
}

.aero-section-content .aero-feature-list {
    width: 100%;
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
    margin-bottom: 36px;
}

.aero-section-content .aero-feature-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #f1f5f9;
}

.aero-section-content .aero-feature-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.aero-section-content .aero-feature-title {
    font-size: 17px;
    font-weight: 600;
    color: #292929;
    margin: 0 0 10px;
}

.aero-section-content .aero-feature-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.aero-section-content .aero-feature-num {
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin-right: 20px;
    margin-top: 2px;
}

.aero-section-content .aero-feature-icon {
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    margin-right: 20px;
    margin-top: 2px;
}

.aero-section-content .aero-section-cta {
    margin-top: 4px;
}
