.ai-summary {
    --ai-border: #d9eaf5;
    --ai-blue: #319fe0;
    --ai-text: #263746;
    --ai-muted: #71808d;

    position: relative;
    padding: 2px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ai-border);
    isolation: isolate;
}

.ai-summary::before {
    content: "";
    position: absolute;
    width: 180%;
    height: 180%;
    left: -40%;
    top: -40%;
    z-index: -2;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 35deg,
        rgba(49,159,224,.08) 45deg,
        rgba(49,159,224,.35) 55deg,
        rgba(49,159,224,.95) 68deg,
        rgba(110,215,255,1) 76deg,
        rgba(255,255,255,1) 82deg,
        rgba(110,215,255,.95) 88deg,
        rgba(49,159,224,.55) 96deg,
        rgba(49,159,224,.08) 110deg,
        transparent 145deg,
        transparent 215deg,
        rgba(49,159,224,.08) 225deg,
        rgba(49,159,224,.45) 238deg,
        rgba(110,215,255,.9) 248deg,
        rgba(255,255,255,.9) 254deg,
        rgba(49,159,224,.4) 264deg,
        transparent 280deg,
        transparent 360deg
    );
    animation: ai-orbit 5s linear infinite;
}

.ai-summary-inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    padding: 28px 30px 26px;
}

.ai-summary-glow {
    position: absolute;
    width: 70%;
    height: 220px;
    top: -120px;
    right: -10%;
    z-index: -1;
    background: radial-gradient(
        ellipse,
        rgba(92,194,255,.18) 0%,
        rgba(92,194,255,.08) 38%,
        transparent 72%
    );
    filter: blur(20px);
    pointer-events: none;
}

.ai-summary-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.ai-summary-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.ai-summary-icon span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: var(--ai-blue);
}

.ai-summary-icon span:nth-child(1) {
    width: 7px;
    height: 7px;
    top: 2px;
    left: 10px;
}

.ai-summary-icon span:nth-child(2) {
    width: 7px;
    height: 7px;
    bottom: 3px;
    left: 3px;
}

.ai-summary-icon span:nth-child(3) {
    width: 7px;
    height: 7px;
    bottom: 3px;
    right: 2px;
}

.ai-summary-label {
    display: block;
    margin-bottom: 2px;
    color: var(--ai-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
}

.ai-summary-heading h3 {
    margin: 0;
    color: var(--ai-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.ai-summary-body {
    color: var(--ai-text);
    font-size: 14px;
    line-height: 1.8;
}

.ai-summary-body p {
    margin: 0 0 12px;
}

.ai-summary-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-summary-body li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 9px;
}

.ai-dot {
    width: 5px;
    height: 5px;
    margin-top: 9px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: var(--ai-blue);
}

.ai-summary-more {
    display: none;
}

.ai-summary.is-open .ai-summary-more {
    display: block;
}

.ai-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin: 12px 0 0;
    padding: 8px 0;
    background: transparent;
    color: var(--ai-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: opacity .2s ease;
    outline: none;
    border: none;
    box-shadow: none;	
}

.ai-summary-toggle:focus,
.ai-summary-toggle:focus-visible,
.ai-summary-toggle:active {
    outline: none;
    border: none;
    box-shadow: none;
}
				
.ai-summary-toggle:hover {
    opacity: .7;
}

.ai-summary-toggle-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform .25s ease;
}

.ai-summary.is-open .ai-summary-toggle-arrow {
    transform: rotate(180deg);
}

.ai-summary.is-open .ai-summary-toggle span:first-child::after {
    content: "";
}

.ai-summary-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 17px;
    background: #e8eef2;
}

.ai-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ai-platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 108px;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #e0e8ed;
    border-radius: 6px;
    background: #fff;
    color: #3d4d59;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.ai-platform:hover {
    border-color: #b9d9eb;
    box-shadow: 0 4px 12px rgba(49,159,224,.1);
    transform: translateY(-1px);
}

.ai-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.ai-platform-icon img {
    display: block;
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.ai-arrow {
    margin-left: 1px;
    color: #9aabb5;
    font-size: 13px;
}

.ai-download {
    border-color: #b9d9eb;
    background: linear-gradient(135deg, #f7fcff, #edf8fe);
    color: #258bc5;
}

.ai-download:hover {
    border-color: #8fc9e9;
    box-shadow: 0 5px 15px rgba(49,159,224,.15);
}

.ai-download-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

@keyframes ai-orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {

    .ai-summary-inner {
        padding: 22px 18px 20px;
    }

    .ai-summary-heading {
        margin-bottom: 15px;
    }

    .ai-summary-heading h3 {
        font-size: 18px;
    }

    .ai-summary-body {
        font-size: 13px;
        line-height: 1.75;
    }

    .ai-platforms {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ai-platform {
        width: 100%;
        min-width: 0;
        padding: 0 8px;
        font-size: 11px;
    }

    .ai-download {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 42px;
        padding: 8px 10px;
        box-sizing: border-box;
        white-space: normal;
        line-height: 1.4;
    }

    .ai-download-icon {
        flex-shrink: 0;
    }

    .ai-download-icon img {
        width: 15px;
        height: 15px;
        object-fit: contain;
    }

    .ai-download > span {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-summary::before {
        animation: none;
    }

    .ai-platform,
    .ai-summary-toggle-arrow {
        transition: none;
    }
}