/* =========================================================
   About / positioning block — index.html
   Scoped to .about-smart so it cannot leak into the template.
   ========================================================= */

.about-smart {
    --as-brand: #2e2a8f;
    --as-brand-2: #5b4bdb;
    --as-accent: #00b894;
    --as-ink: #0f1030;
    --as-body: #565b78;
    --as-line: #e8e9f5;
    --as-surface: #ffffff;
    --as-ease: cubic-bezier(.22, .61, .36, 1);

    position: relative;
    padding: 96px 0 88px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fd 100%);
}

.about-smart::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 75, 219, .12), transparent 68%);
    pointer-events: none;
}

.about-smart .container {
    position: relative;
    z-index: 1;
}

.as-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 60px;
    align-items: center;
}

/* ---------- copy column ---------- */
.as-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(46, 42, 143, .07);
    color: var(--as-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.as-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--as-brand-2), var(--as-accent));
}

.as-title {
    margin: 20px 0 18px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--as-ink);
    max-width: 620px;
}

.as-title span {
    color: var(--as-brand-2);
}

.as-lead {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--as-body);
    max-width: 620px;
}

.as-text {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--as-body);
    max-width: 620px;
}

/* three proof points */
.as-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    max-width: 520px;
}

.as-points li {
    position: relative;
    padding-left: 30px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--as-ink);
    font-weight: 500;
}

.as-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 184, 148, .14);
    box-shadow: inset 0 0 0 1px rgba(0, 184, 148, .35);
}

.as-points li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 5px;
    height: 3px;
    border-left: 2px solid #00926f;
    border-bottom: 2px solid #00926f;
    transform: rotate(-45deg);
}

/* actions */
.as-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.as-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .3s var(--as-ease), box-shadow .3s var(--as-ease),
        background .3s var(--as-ease), color .3s var(--as-ease);
}

.as-btn i {
    font-size: 11px;
}

.as-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--as-brand) 0%, var(--as-brand-2) 100%);
    box-shadow: 0 14px 30px -14px rgba(46, 42, 143, .65);
}

.as-btn--primary:hover,
.as-btn--primary:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -16px rgba(46, 42, 143, .7);
    text-decoration: none;
}

.as-btn--ghost {
    color: var(--as-ink);
    background: #fff;
    border: 1px solid var(--as-line);
}

.as-btn--ghost:hover,
.as-btn--ghost:focus-visible {
    color: var(--as-brand);
    border-color: rgba(91, 75, 219, .4);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---------- at-a-glance panel ---------- */
.as-panel {
    position: relative;
    padding: 34px 32px 30px;
    border-radius: 26px;
    background: var(--as-surface);
    border: 1px solid var(--as-line);
    box-shadow: 0 26px 60px -34px rgba(16, 17, 50, .38);
}

.as-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    padding: 1px;
    background: linear-gradient(150deg, rgba(91, 75, 219, .45), rgba(0, 184, 148, .35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.as-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.as-panel-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7b7fa3;
}

.as-panel-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(0, 184, 148, .12);
    color: #00775d;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
}

.as-stats {
    margin: 0;
    padding: 0;
    list-style: none;
}

.as-stats li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--as-line);
}

.as-stats li:first-child {
    border-top: 0;
    padding-top: 0;
}

.as-stats strong {
    flex: 0 0 auto;
    min-width: 78px;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--as-brand);
}

.as-stats span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--as-body);
}

.as-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.as-panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1.5px solid var(--as-brand);
    border-radius: 999px;
    background: transparent;
    color: var(--as-brand);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color .3s var(--as-ease), background .3s var(--as-ease),
        border-color .3s var(--as-ease), transform .3s var(--as-ease),
        box-shadow .3s var(--as-ease);
}

.as-panel-btn i {
    font-size: 15px;
    line-height: 1;
}

.as-panel-btn:hover,
.as-panel-btn:focus-visible {
    color: #fff;
    background: var(--as-brand);
    border-color: var(--as-brand);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(46, 42, 143, .55);
}

.as-panel-btn--wa {
    border-color: #1faa54;
    color: #128c3e;
}

.as-panel-btn--wa i {
    font-size: 17px;
}

.as-panel-btn--wa:hover,
.as-panel-btn--wa:focus-visible {
    background: #1faa54;
    border-color: #1faa54;
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(37, 211, 102, .6);
}

/* ---------- responsive ---------- */
@media only screen and (max-width: 1199px) {
    .about-smart {
        padding: 76px 0 64px;
    }

    .as-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .as-title {
        font-size: 36px;
    }

    .as-panel {
        max-width: 560px;
    }
}

@media only screen and (max-width: 767px) {
    .about-smart {
        padding: 56px 0 52px;
    }

    .as-title {
        font-size: 28px;
    }

    .as-lead {
        font-size: 16px;
    }

    .as-text {
        font-size: 15px;
    }

    .as-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .as-actions {
        width: 100%;
    }

    .as-btn {
        justify-content: center;
        width: 100%;
    }

    .as-panel {
        padding: 26px 22px 24px;
    }

    .as-panel-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .as-stats strong {
        font-size: 25px;
        min-width: 64px;
    }

    .as-panel-actions {
        gap: 10px;
    }

    .as-panel-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 13.5px;
    }
}

/* ---------- dark mode ---------- */
.active-dark .about-smart {
    background: linear-gradient(180deg, #101010 0%, #141427 100%);
    --as-ink: #f2f3fa;
    --as-body: #a7abc4;
    --as-line: #26263a;
    --as-surface: #17182a;
}

.active-dark .as-eyebrow {
    background: rgba(255, 255, 255, .06);
    color: #b9b2ff;
}

.active-dark .as-btn--ghost {
    background: transparent;
    color: var(--as-ink);
}

.active-dark .as-btn--ghost:hover {
    color: #fff;
    border-color: rgba(185, 178, 255, .5);
}

.active-dark .as-panel-head h2 {
    color: #8f93b5;
}

.active-dark .as-stats strong {
    color: #b9b2ff;
}

.active-dark .as-panel-btn {
    border-color: rgba(185, 178, 255, .5);
    color: #b9b2ff;
}

.active-dark .as-panel-btn:hover,
.active-dark .as-panel-btn:focus-visible {
    background: rgba(185, 178, 255, .16);
    border-color: rgba(185, 178, 255, .8);
    color: #fff;
    box-shadow: none;
}

.active-dark .as-panel-btn--wa {
    border-color: rgba(37, 211, 102, .45);
    color: #56dd8b;
}

.active-dark .as-panel-btn--wa:hover,
.active-dark .as-panel-btn--wa:focus-visible {
    background: rgba(37, 211, 102, .16);
    border-color: rgba(37, 211, 102, .7);
    color: #d6fbe4;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .as-btn,
    .as-panel-btn {
        transition: none;
    }

    .as-btn:hover,
    .as-btn:focus-visible,
    .as-panel-btn:hover,
    .as-panel-btn:focus-visible {
        transform: none;
    }
}
