.ansa-after-hero-section-wrapper,
.ansa-after-hero-section-wrapper * {
    box-sizing: border-box;
}

.ansa-after-hero-section-wrapper {
    --ansa-gradient-start: #3b82f6;
    --ansa-gradient-end: #06b6d4;
    --ansa-submit-start: #0055ff;
    --ansa-submit-end: #d400ff;
    font-family: Inter, Arial, sans-serif;
    color: #fff;
    background-color: #020617;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ansa-after-hero-section-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(59, 130, 246, .16), transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(212, 0, 255, .14), transparent 26%),
        linear-gradient(180deg, rgba(2, 6, 23, .1), rgba(2, 6, 23, .7));
}

.ansa-after-hero-bg-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: none;
    height: auto;
    transform: translateX(-50%);
    z-index: 0;
    opacity: .45;
    pointer-events: none;
}

.ansa-after-hero-glow {
    position: absolute;
    z-index: 0;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    filter: blur(75px);
    opacity: .18;
    pointer-events: none;
}

.ansa-after-hero-glow-one {
    top: 8%;
    right: 6%;
    background: #2563eb;
}

.ansa-after-hero-glow-two {
    bottom: -90px;
    left: 12%;
    background: #d400ff;
}

.ansa-after-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.ansa-after-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 60px;
    align-items: center;
}

.ansa-after-hero-grid-full {
    grid-template-columns: minmax(0, 1fr);
}

.ansa-after-hero-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ansa-after-hero-testimonial {
    width: 100%;
    max-width: 450px;
    border: 1px solid #1e293b;
    background: rgba(15, 23, 42, .6);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.ansa-after-hero-testimonial-text {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #94a3b8;
}

.ansa-after-hero-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ansa-after-hero-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
}

.ansa-after-hero-avatar-placeholder {
    display: inline-block;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, .34), rgba(212, 0, 255, .28)),
        #1e293b;
    border: 1px solid rgba(255, 255, 255, .12);
}

.ansa-after-hero-author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ansa-after-hero-author-details strong {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    color: #fff;
    font-weight: 700;
}

.ansa-after-hero-author-details small {
    display: block;
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

.ansa-after-hero-heading {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -1.3px;
}

.ansa-after-hero-gradient {
    --ansa-gradient-start: #3b82f6;
    --ansa-gradient-end: #06b6d4;
    background: linear-gradient(90deg, var(--ansa-gradient-start) 0%, var(--ansa-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ansa-after-hero-description {
    max-width: 92%;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.65;
}

.ansa-after-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.ansa-after-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.ansa-after-hero-btn:hover {
    transform: translateY(-2px);
}

.ansa-after-hero-btn-white {
    background: #fff;
    color: #0f172a !important;
    border: 1px solid #fff;
    box-shadow: 0 18px 36px rgba(255, 255, 255, .08);
}

.ansa-after-hero-btn-outline {
    background: rgba(255, 255, 255, .02);
    color: #fff !important;
    border: 1px solid #334155;
}

.ansa-after-hero-btn-outline:hover {
    border-color: rgba(255, 255, 255, .55);
}

.ansa-after-hero-btn-glow {
    color: #fff !important;
    border: 1px solid transparent;
    background:
        linear-gradient(#020617, #020617) padding-box,
        linear-gradient(90deg, #3b82f6, #d400ff) border-box;
    box-shadow: 0 16px 34px rgba(59, 130, 246, .13);
}

.ansa-after-hero-form-box {
    position: relative;
    background: #060b1c;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(59, 130, 246, .12), inset 0 1px 0 rgba(255, 255, 255, .04);
    overflow: hidden;
}

.ansa-after-hero-form-box::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, .28), transparent 34%), radial-gradient(circle at bottom left, rgba(212, 0, 255, .17), transparent 35%);
}

.ansa-after-hero-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.ansa-after-hero-form-header h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 750;
    line-height: 1.2;
}

.ansa-after-hero-form-header p {
    max-width: 330px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.55;
}

.ansa-after-hero-demo-form,
.ansa-after-hero-shortcode-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ansa-after-hero-field,
.ansa-after-hero-shortcode-form input[type="text"],
.ansa-after-hero-shortcode-form input[type="email"],
.ansa-after-hero-shortcode-form input[type="tel"],
.ansa-after-hero-shortcode-form input[type="url"],
.ansa-after-hero-shortcode-form input[type="number"],
.ansa-after-hero-shortcode-form select,
.ansa-after-hero-shortcode-form textarea {
    width: 100%;
    min-height: 50px;
    background: rgba(15, 23, 42, .8);
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.ansa-after-hero-field::placeholder,
.ansa-after-hero-shortcode-form input::placeholder,
.ansa-after-hero-shortcode-form textarea::placeholder {
    color: #94a3b8;
}

.ansa-after-hero-field:focus,
.ansa-after-hero-shortcode-form input:focus,
.ansa-after-hero-shortcode-form select:focus,
.ansa-after-hero-shortcode-form textarea:focus {
    border-color: rgba(59, 130, 246, .8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .13);
}

.ansa-after-hero-textarea,
.ansa-after-hero-shortcode-form textarea {
    min-height: 105px;
    resize: vertical;
}

.ansa-after-hero-submit,
.ansa-after-hero-shortcode-form input[type="submit"],
.ansa-after-hero-shortcode-form button[type="submit"] {
    --ansa-submit-start: #0055ff;
    --ansa-submit-end: #d400ff;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    padding: 16px;
    background: linear-gradient(90deg, var(--ansa-submit-start), var(--ansa-submit-end));
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(0, 85, 255, .22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ansa-after-hero-submit:hover,
.ansa-after-hero-shortcode-form input[type="submit"]:hover,
.ansa-after-hero-shortcode-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(0, 85, 255, .28);
}

.ansa-after-hero-features {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.ansa-after-hero-feature-card {
    position: relative;
    display: flex;
    min-height: 155px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 15px;
    text-align: center;
    background: rgba(6, 11, 28, .8);
    border: 1px solid #1e3a8a;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ansa-after-hero-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(59, 130, 246, .11), transparent 46%);
    opacity: .75;
}

.ansa-after-hero-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, .76);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
}

.ansa-after-hero-feature-icon-wrap,
.ansa-after-hero-feature-title,
.ansa-after-hero-feature-text {
    position: relative;
    z-index: 1;
}

.ansa-after-hero-feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(59, 130, 246, .11);
    border: 1px solid rgba(59, 130, 246, .18);
}

.ansa-after-hero-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 22px;
    line-height: 1;
}

.ansa-after-hero-feature-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.ansa-after-hero-feature-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ansa-after-hero-feature-title {
    margin: 0 0 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
}

.ansa-after-hero-feature-text {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .ansa-after-hero-grid {
        grid-template-columns: 1fr;
    }

    .ansa-after-hero-description {
        max-width: 100%;
    }

    .ansa-after-hero-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ansa-after-hero-section-wrapper {
        padding: 58px 16px;
    }

    .ansa-after-hero-container {
        gap: 38px;
    }

    .ansa-after-hero-grid {
        gap: 34px;
    }

    .ansa-after-hero-heading {
        font-size: 36px;
        letter-spacing: -0.7px;
    }

    .ansa-after-hero-description {
        font-size: 16px;
    }

    .ansa-after-hero-buttons {
        flex-direction: column;
    }

    .ansa-after-hero-btn {
        width: 100%;
    }

    .ansa-after-hero-form-box {
        padding: 28px 20px;
    }

    .ansa-after-hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ansa-after-hero-features {
        grid-template-columns: 1fr;
    }
}
