/* ============================================================
   ACF — CORE ACCOUNTING FEATURES
   Premium 3-Column Cards | Isolated Class Names
   ============================================================ */

/* ----- Root Variables ----- */
:root {
    --acf-blue: #1268e3;
    --acf-green: #0a9f6e;
    --acf-purple: #7c3aed;
    --acf-ink: #081426;
    --acf-ink-soft: #4b5768;
    --acf-ink-faint: #94a1b3;
    --acf-border: #e7ebf1;
    --acf-border-soft: #eef1f6;
    --acf-surface: #ffffff;
    --acf-surface-alt: #f8fafc;
    --acf-shadow: 0 1px 2px rgba(8, 20, 38, 0.04), 0 12px 28px rgba(8, 20, 38, 0.06);
    --acf-shadow-hover: 0 4px 10px rgba(8, 20, 38, 0.06), 0 24px 48px rgba(8, 20, 38, 0.10);
    --acf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.acf-master-section {
    position: relative;
    background: #ffffff;
    padding: clamp(3.5rem, 6vw + 1rem, 6rem) 0;
    overflow: hidden;
    width: 100%;
}

.acf-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.acf-header-wrap {
    max-width: 48rem;
    margin: 0 auto clamp(2.5rem, 4vw, 4rem);
    text-align: center;
    padding: 0 1rem;
}

.acf-header-title {
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    font-weight: 800;
    color: #081426;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.acf-header-desc {
    font-size: clamp(0.95rem, 0.4vw + 0.86rem, 1.1rem);
    color: #4b5768;
    line-height: 1.7;
    max-width: 38rem;
    margin: 0 auto;
}

/* ============================================================
   GRID — 3 Columns
   ============================================================ */
.acf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .acf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
        padding: 0 1rem;
    }
}

@media (min-width: 1024px) {
    .acf-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0;
    }
}

/* ============================================================
   CARD — Base Styles
   ============================================================ */
.acf-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e7ebf1;
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 2vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
    box-shadow: 0 1px 2px rgba(8, 20, 38, 0.04), 0 12px 28px rgba(8, 20, 38, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    opacity: 0;
    transform: translateY(30px);
}

.acf-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.acf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 1.25rem 1.25rem 0 0;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.acf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 10px rgba(8, 20, 38, 0.06), 0 24px 48px rgba(8, 20, 38, 0.10);
    border-color: #eef1f6;
}

.acf-card:hover::before {
    opacity: 1;
}

/* ----- Card Color Variants ----- */
.acf-card--blue::before {
    background: linear-gradient(90deg, #1268e3, #60a5fa);
}
.acf-card--blue .acf-card-number {
    color: #1268e3;
    background: rgba(18, 104, 227, 0.08);
}
.acf-card--blue .acf-card-icon {
    background: rgba(18, 104, 227, 0.08);
    color: #1268e3;
}

.acf-card--green::before {
    background: linear-gradient(90deg, #0a9f6e, #34d399);
}
.acf-card--green .acf-card-number {
    color: #0a9f6e;
    background: rgba(10, 159, 110, 0.08);
}
.acf-card--green .acf-card-icon {
    background: rgba(10, 159, 110, 0.08);
    color: #0a9f6e;
}

.acf-card--purple::before {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.acf-card--purple .acf-card-number {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
}
.acf-card--purple .acf-card-icon {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}

/* ----- Card Top: Number + Icon ----- */
.acf-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    width: 100%;
}

.acf-card-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    background: rgba(18, 104, 227, 0.08);
    color: #1268e3;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.acf-card:hover .acf-card-number {
    transform: scale(1.05);
}

.acf-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 104, 227, 0.06);
    color: #1268e3;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.acf-card:hover .acf-card-icon {
    transform: scale(1.06) rotate(-4deg);
}

.acf-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

/* ----- Card Content ----- */
.acf-card-title {
    font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem);
    font-weight: 800;
    color: #081426;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.acf-card-desc {
    font-size: clamp(0.85rem, 0.2vw + 0.82rem, 0.92rem);
    color: #4b5768;
    line-height: 1.7;
    margin-bottom: 1.1rem;
    flex: 1;
}

/* ----- Features List ----- */
.acf-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.acf-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #081426;
    line-height: 1.4;
}

.acf-card-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.12rem;
    stroke: #0a9f6e;
    stroke-width: 2.5;
    fill: none;
}

.acf-card--blue .acf-card-features li svg {
    stroke: #1268e3;
}

.acf-card--purple .acf-card-features li svg {
    stroke: #7c3aed;
}

.acf-feature-meta {
    color: #94a1b3;
    font-weight: 400;
}

/* ----- Card Footer / Link ----- */
.acf-card-footer {
    padding-top: 0.9rem;
    border-top: 1px solid #eef1f6;
    margin-top: auto;
}

.acf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #081426;
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1), gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.acf-card-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.acf-card--blue .acf-card-link {
    color: #1268e3;
}
.acf-card--blue .acf-card-link:hover {
    color: #0b56c4;
}

.acf-card--green .acf-card-link {
    color: #0a9f6e;
}
.acf-card--green .acf-card-link:hover {
    color: #07805a;
}

.acf-card--purple .acf-card-link {
    color: #7c3aed;
}
.acf-card--purple .acf-card-link:hover {
    color: #6d28d9;
}

.acf-card-link:hover {
    gap: 0.75rem;
}

.acf-card-link:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 639px) {
    .acf-card {
        min-height: auto;
        padding: 1.25rem 1rem;
    }

    .acf-card-top {
        margin-bottom: 1rem;
    }

    .acf-card-icon {
        width: 40px;
        height: 40px;
    }

    .acf-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .acf-card-number {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .acf-card-features li {
        font-size: 0.78rem;
    }

    .acf-grid {
        padding: 0;
    }

    .acf-card-link {
        font-size: 0.78rem;
    }

    .acf-card-link svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .acf-card-features li {
        font-size: 0.74rem;
    }

    .acf-card-features li svg {
        width: 14px;
        height: 14px;
    }

    .acf-card-desc {
        font-size: 0.8rem;
    }

    .acf-header-wrap {
        padding: 0 0.5rem;
    }
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .acf-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .acf-card:hover {
        transform: none !important;
    }

    .acf-card:hover .acf-card-number,
    .acf-card:hover .acf-card-icon {
        transform: none !important;
    }

    .acf-card-link:hover {
        gap: 0.5rem !important;
    }

    .acf-card-link:hover svg {
        transform: none !important;
    }
}


/* ============================================================
   BAI — BANKING INTEGRATION
   Premium 3-Column | Left Features | Center Image | Right Benefits
   ============================================================ */

:root {
    --bai-blue: #1268e3;
    --bai-green: #0a9f6e;
    --bai-purple: #7c3aed;
    --bai-amber: #f59e0b;
    --bai-ink: #081426;
    --bai-ink-soft: #4b5768;
    --bai-ink-faint: #94a1b3;
    --bai-border: #e7ebf1;
    --bai-border-soft: #eef1f6;
    --bai-surface: #ffffff;
    --bai-surface-alt: #f8fafc;
    --bai-shadow: 0 1px 2px rgba(8, 20, 38, 0.04), 0 12px 28px rgba(8, 20, 38, 0.06);
    --bai-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.bai-master-section {
    position: relative;
    background: #ffffff;
    padding: clamp(3.5rem, 6vw + 1rem, 6rem) 0;
    overflow: hidden;
    width: 100%;
}

.bai-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   HEADER
   ============================================================ */
.bai-header-wrap {
    max-width: 52rem;
    margin: 0 auto clamp(2.5rem, 4vw, 4rem);
    text-align: center;
    padding: 0 1rem;
}

.bai-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    background: rgba(18, 104, 227, 0.08);
    color: #1268e3;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.bai-header-tag svg {
    width: 14px;
    height: 14px;
    stroke: #0a9f6e;
}

.bai-header-title {
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    font-weight: 800;
    color: #081426;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.bai-header-title span {
    background: linear-gradient(135deg, #1268e3, #0a9f6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bai-header-desc {
    font-size: clamp(0.95rem, 0.4vw + 0.86rem, 1.1rem);
    color: #4b5768;
    line-height: 1.7;
    max-width: 40rem;
    margin: 0 auto;
}

/* ============================================================
   3-COLUMN GRID
   ============================================================ */
.bai-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 82rem;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 768px) {
    .bai-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .bai-grid {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.bai-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a1b3;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eef1f6;
}

.bai-section-label svg {
    width: 16px;
    height: 16px;
    stroke: #1268e3;
}

/* ============================================================
   LEFT COLUMN — Features
   ============================================================ */
.bai-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.bai-left-inner {
    max-width: 400px;
    width: 100%;
    padding: 0.5rem 0;
}

.bai-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.bai-feature:hover {
    background: rgba(18, 104, 227, 0.03);
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
}

.bai-feature:last-of-type {
    border-bottom: none;
}

.bai-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(18, 104, 227, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1268e3;
    margin-top: 0.1rem;
}

.bai-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.bai-feature-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #081426;
    margin: 0 0 0.3rem 0;
}

.bai-feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bai-feature-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #4b5768;
    line-height: 1.4;
}

.bai-feature-points li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 0.12rem;
    stroke: #0a9f6e;
}

/* ============================================================
   CENTER COLUMN — IMAGE
   ============================================================ */
.bai-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bai-image-stage {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1/1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bai-image-float {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(15, 23, 42, 0.18));
    animation: baiFloat 4.5s ease-in-out infinite;
}

@keyframes baiFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
    .bai-image-float {
        animation: none;
    }
}

/* ----- Glow Effect ----- */
.bai-image-glow {
    position: absolute;
    left: 50%;
    top: 56%;
    width: 78%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(37, 99, 235, 0.16), rgba(16, 185, 129, 0) 72%),
                radial-gradient(closest-side, rgba(16, 185, 129, 0.20), rgba(16, 185, 129, 0) 65%);
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

/* ----- Floating Chips ----- */
.bai-chip {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.15);
    padding: 8px 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #081426;
    white-space: nowrap;
    animation: baiChipFloat 5s ease-in-out infinite;
}

.bai-chip strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
}

.bai-chip span {
    font-size: 0.6rem;
    color: #4b5768;
    font-weight: 500;
}

.bai-chip div {
    line-height: 1.3;
}

.bai-chip--tl { top: 6%; left: -8%; animation-delay: 0s; }
.bai-chip--tr { top: 4%; right: -12%; animation-delay: 0.5s; }
.bai-chip--bl { bottom: 8%; left: -10%; animation-delay: 1s; }
.bai-chip--br { bottom: 4%; right: -8%; animation-delay: 1.5s; }

@keyframes baiChipFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .bai-chip { animation: none; }
}

.bai-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   RIGHT COLUMN — Benefits
   ============================================================ */
.bai-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.bai-right-inner {
    max-width: 400px;
    width: 100%;
    padding: 0.5rem 0;
}

.bai-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.bai-benefit:hover {
    background: rgba(10, 159, 110, 0.03);
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
}

.bai-benefit:last-of-type {
    border-bottom: none;
}

.bai-benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(10, 159, 110, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0a9f6e;
    margin-top: 0.1rem;
}

.bai-benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.bai-benefit-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #081426;
    margin: 0 0 0.3rem 0;
}

.bai-benefit-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bai-benefit-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #4b5768;
    line-height: 1.4;
}

.bai-benefit-points li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 0.12rem;
    stroke: #1268e3;
}

/* ============================================================
   LINKS
   ============================================================ */
.bai-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1268e3;
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.bai-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.bai-link:hover {
    gap: 0.75rem;
}

.bai-link:hover svg {
    transform: translateX(4px);
}

.bai-link--right {
    color: #0a9f6e;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
    .bai-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .bai-left { order: 1; justify-content: flex-start; }
    .bai-center { order: 2; grid-column: 1 / -1; }
    .bai-right { order: 3; justify-content: flex-start; }

    .bai-image-stage { max-width: 340px; }

    .bai-chip--tl { left: -2%; top: 4%; }
    .bai-chip--tr { right: -2%; top: 2%; }
    .bai-chip--bl { left: -2%; bottom: 6%; }
    .bai-chip--br { right: -2%; bottom: 2%; }

    .bai-left-inner,
    .bai-right-inner {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .bai-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bai-left { order: 2; }
    .bai-center { order: 1; }
    .bai-right { order: 3; }

    .bai-image-stage { max-width: 280px; }

    .bai-chip {
        padding: 4px 10px;
        font-size: 0.6rem;
    }

    .bai-chip strong { font-size: 0.65rem; }
    .bai-chip span { font-size: 0.5rem; }

    .bai-chip--tl { top: 2%; left: -4%; }
    .bai-chip--tr { top: 0%; right: -4%; }
    .bai-chip--bl { bottom: 4%; left: -4%; }
    .bai-chip--br { bottom: 0%; right: -4%; }
}

@media (max-width: 480px) {
    .bai-image-stage { max-width: 200px; }
    .bai-chip { display: none; }

    .bai-feature {
        padding: 0.6rem 0;
        gap: 0.6rem;
    }

    .bai-feature-title { font-size: 0.82rem; }
    .bai-feature-points li { font-size: 0.72rem; }

    .bai-benefit {
        padding: 0.6rem 0;
        gap: 0.6rem;
    }

    .bai-benefit-title { font-size: 0.82rem; }
    .bai-benefit-points li { font-size: 0.72rem; }

    .bai-link {
        font-size: 0.78rem;
    }
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .bai-image-float,
    .bai-chip {
        animation: none !important;
    }

    .bai-image-float {
        transform: none !important;
    }

    .bai-chip {
        transform: none !important;
    }
}
/* ============================================================
   ASW — 4-STEP ACCOUNTING WORKFLOW
   Horizontal Pipeline Design with SVG Icons
   ============================================================ */

:root {
    --asw-blue: #1268e3;
    --asw-blue-light: #60a5fa;
    --asw-green: #0a9f6e;
    --asw-green-light: #34d399;
    --asw-purple: #7c3aed;
    --asw-purple-light: #a78bfa;
    --asw-amber: #f59e0b;
    --asw-amber-light: #fbbf24;
    --asw-ink: #081426;
    --asw-ink-soft: #4b5768;
    --asw-ink-faint: #94a1b3;
    --asw-border: #e7ebf1;
    --asw-border-soft: #eef1f6;
    --asw-surface: #ffffff;
    --asw-surface-alt: #f8fafc;
    --asw-shadow: 0 1px 2px rgba(8, 20, 38, 0.04), 0 12px 28px rgba(8, 20, 38, 0.06);
    --asw-shadow-hover: 0 4px 10px rgba(8, 20, 38, 0.06), 0 24px 48px rgba(8, 20, 38, 0.10);
    --asw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.asw-master-section {
    position: relative;
    background: #f8fafc;
    padding: clamp(3.5rem, 6vw + 1rem, 6rem) 0;
    overflow: hidden;
    width: 100%;
}

.asw-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   HEADER
   ============================================================ */
.asw-header-wrap {
    max-width: 48rem;
    margin: 0 auto clamp(2.5rem, 4vw, 4rem);
    text-align: center;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.asw-header-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.asw-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    background: rgba(18, 104, 227, 0.08);
    color: #1268e3;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.asw-header-tag svg {
    width: 14px;
    height: 14px;
    stroke: #0a9f6e;
}

.asw-header-title {
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    font-weight: 800;
    color: #081426;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.asw-header-title span {
    background: linear-gradient(135deg, #1268e3, #0a9f6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.asw-header-desc {
    font-size: clamp(0.95rem, 0.4vw + 0.86rem, 1.1rem);
    color: #4b5768;
    line-height: 1.7;
    max-width: 36rem;
    margin: 0 auto;
}

/* ============================================================
   HORIZONTAL PIPELINE
   ============================================================ */
.asw-pipeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 82rem;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 1024px) {
    .asw-pipeline {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }
}

/* ============================================================
   STEP WRAPPER
   ============================================================ */
.asw-step-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .asw-step-wrapper {
        flex-direction: row;
        align-items: stretch;
    }
}

/* ============================================================
   STEP CARD
   ============================================================ */
.asw-step {
    position: relative;
    background: #ffffff;
    border: 1px solid #e7ebf1;
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 2vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
    box-shadow: 0 1px 2px rgba(8, 20, 38, 0.04), 0 12px 28px rgba(8, 20, 38, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
}

.asw-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Top Border */
.asw-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 1.25rem 1.25rem 0 0;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.asw-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 10px rgba(8, 20, 38, 0.06), 0 24px 48px rgba(8, 20, 38, 0.10);
    border-color: #eef1f6;
}

.asw-step:hover::before {
    opacity: 1;
}

/* ----- Color Variants ----- */
.asw-step--blue::before {
    background: linear-gradient(90deg, #1268e3, #60a5fa);
}
.asw-step--blue .asw-step-number {
    background: #1268e3;
}
.asw-step--blue .asw-step-icon {
    background: rgba(18, 104, 227, 0.08);
    color: #1268e3;
}
.asw-step--blue .asw-step-features li svg {
    stroke: #1268e3;
}

.asw-step--green::before {
    background: linear-gradient(90deg, #0a9f6e, #34d399);
}
.asw-step--green .asw-step-number {
    background: #0a9f6e;
}
.asw-step--green .asw-step-icon {
    background: rgba(10, 159, 110, 0.08);
    color: #0a9f6e;
}
.asw-step--green .asw-step-features li svg {
    stroke: #0a9f6e;
}

.asw-step--purple::before {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.asw-step--purple .asw-step-number {
    background: #7c3aed;
}
.asw-step--purple .asw-step-icon {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}
.asw-step--purple .asw-step-features li svg {
    stroke: #7c3aed;
}

.asw-step--amber::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.asw-step--amber .asw-step-number {
    background: #f59e0b;
}
.asw-step--amber .asw-step-icon {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}
.asw-step--amber .asw-step-features li svg {
    stroke: #f59e0b;
}

/* ----- Step Header (Number + Icon side by side) ----- */
.asw-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.asw-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    background: #1268e3;
    flex-shrink: 0;
}

.asw-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(18, 104, 227, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1268e3;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.asw-step:hover .asw-step-icon {
    transform: scale(1.08) rotate(-4deg);
}

.asw-step-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* ----- Step Content ----- */
.asw-step-title {
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
    font-weight: 800;
    color: #081426;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.asw-step-desc {
    font-size: 0.82rem;
    color: #4b5768;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    flex: 1;
}

/* ----- Step Features ----- */
.asw-step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.asw-step-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #081426;
    line-height: 1.4;
}

.asw-step-features li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    stroke: #0a9f6e;
    stroke-width: 2.5;
}

/* ----- Step Footer Badge ----- */
.asw-step-footer {
    padding-top: 0.75rem;
    border-top: 1px solid #eef1f6;
    margin-top: auto;
}

.asw-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #4b5768;
    padding: 0.2rem 0.7rem;
    background: #f8fafc;
    border-radius: 999px;
}

.asw-step-badge svg {
    width: 14px;
    height: 14px;
    stroke: #0a9f6e;
    stroke-width: 2;
}

/* ============================================================
   CONNECTOR ARROW
   ============================================================ */
.asw-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    color: #94a1b3;
}

.asw-connector svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

.asw-step-wrapper:last-child .asw-connector {
    display: none;
}

@media (min-width: 1024px) {
    .asw-connector {
        padding: 0 0.25rem;
        flex-shrink: 0;
        width: 40px;
    }

    .asw-connector svg {
        transform: rotate(0deg);
        width: 20px;
        height: 20px;
    }
}

/* ============================================================
   STEP DELAYS
   ============================================================ */
.asw-step-wrapper:nth-child(1) .asw-step { transition-delay: 0.05s; }
.asw-step-wrapper:nth-child(2) .asw-step { transition-delay: 0.13s; }
.asw-step-wrapper:nth-child(3) .asw-step { transition-delay: 0.21s; }
.asw-step-wrapper:nth-child(4) .asw-step { transition-delay: 0.29s; }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.asw-bottom-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-top: clamp(1.5rem, 2vw, 2.5rem);
    border-top: 1px solid #e7ebf1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.asw-bottom-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.asw-cta-primary,
.asw-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    cursor: pointer;
}

.asw-cta-primary {
    background: linear-gradient(135deg, #1268e3, #0a9f6e);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(18, 104, 227, 0.25);
}

.asw-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(18, 104, 227, 0.35);
}

.asw-cta-primary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.asw-cta-primary:hover svg {
    transform: translateX(4px);
}

.asw-cta-secondary {
    background: transparent;
    color: #081426;
    border: 1.5px solid #e7ebf1;
}

.asw-cta-secondary:hover {
    background: #f8fafc;
    border-color: #1268e3;
    transform: translateY(-2px);
}

.asw-cta-secondary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.asw-cta-secondary:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 639px) {
    .asw-step {
        padding: 1.25rem 1rem;
    }

    .asw-step-header {
        gap: 0.5rem;
    }

    .asw-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    .asw-step-icon {
        width: 38px;
        height: 38px;
    }

    .asw-step-icon svg {
        width: 18px;
        height: 18px;
    }

    .asw-step-features li {
        font-size: 0.7rem;
    }

    .asw-connector svg {
        width: 18px;
        height: 18px;
    }

    .asw-bottom-cta {
        flex-direction: column;
        width: 100%;
    }

    .asw-cta-primary,
    .asw-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .asw-pipeline {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .asw-step-wrapper {
        flex-direction: column;
    }

    .asw-connector {
        display: none !important;
    }

    .asw-step {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .asw-step-wrapper:not(:last-child) .asw-step {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .asw-step-wrapper:not(:first-child) .asw-step {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .asw-step-wrapper:not(:first-child) .asw-step::before {
        border-radius: 0;
    }
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .asw-step,
    .asw-header-wrap,
    .asw-bottom-cta {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .asw-step:hover {
        transform: none !important;
    }

    .asw-step:hover .asw-step-icon {
        transform: none !important;
    }
}