/* Legal71 homepage styles.
   Extracted from resources/views/frontend/home.blade.php's inline <style> block
   (2026-07-29 cleanup) — the frontend has no Tailwind JIT, so component styles for
   the homepage's redesigned sections live here rather than as utility classes.
   Linked via @push('styles') in home.blade.php. */

/* "যারা সার্ভিস নিয়েছেন" testimonial cards — self-contained (frontend uses a purged
   static style.css, so component styles live here rather than as Tailwind utilities). */
.feedback-slider .swiper-wrapper {
    align-items: stretch;
}

.feedback-slider .swiper-slide {
    height: auto;
    display: flex;
}

.feedback-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #EFE9F7;
    border-radius: 18px;
    padding: 20px 22px 18px;
    box-shadow: 0 18px 40px -30px rgba(66, 66, 255, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feedback-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -30px rgba(66, 66, 255, 0.55);
}

.feedback-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.feedback-stars {
    display: flex;
    gap: 5px;
}

.feedback-star {
    width: 20px;
    height: 20px;
    fill: #e2e2ec;
}

.feedback-star.is-on {
    fill: #ffb400;
}

.feedback-qmark {
    width: 40px;
    height: 32px;
    fill: #f05a2b;
    opacity: 0.16;
    flex-shrink: 0;
}

.feedback-text {
    color: #3d4056;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-more {
    align-self: flex-start;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: 0;
    color: #6E6BDC;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.feedback-more:hover { text-decoration: underline; }

.feedback-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #F1ECF7;
}

.feedback-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4242ff, #b225ff);
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.feedback-name {
    color: #202050;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.feedback-role {
    margin-top: 3px;
    color: #f05a2b;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .feedback-card {
        padding: 18px 18px 16px;
        border-radius: 16px;
    }
}

/* Full-testimonial modal (opened from a card's "আরও পড়ুন"). Scoped. */
.fb-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fb-modal[hidden] { display: none; }

.fb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 23, 26, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.fb-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 34px 30px 30px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45);
    animation: fbModalIn 0.25s ease;
}

@keyframes fbModalIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.fb-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #F3EEF9;
    color: #202050;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fb-modal-close:hover { background: #E7DEF3; }

.fb-modal-text {
    margin: 16px 0 24px;
    color: #3d4056;
    font-size: 16px;
    line-height: 1.8;
}

.fb-modal-box .feedback-author {
    margin-top: 0;
    padding-top: 18px;
}

/* FAQ list — cap the section to a fixed height and let it scroll internally
    (overlay scrollbar) so a long list doesn't stretch the homepage. The card
    design is unchanged. Frontend uses a purged static style.css, so these
   live here rather than as Tailwind utilities. */
.faq-scroll {
    max-height: 560px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Firefox: thin overlay-style scrollbar, no reserved gutter */
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 90, 43, .55) transparent;
}

/* Keep every accordion card at its natural height. Without this the flex
    column's max-height makes the cards flex-shrink, and daisyUI's
   overflow:hidden then clips them to empty bars. */
.faq-scroll>* {
    flex-shrink: 0;
}

/* WebKit: slim scrollbar that floats over the content (design stays intact) */
.faq-scroll::-webkit-scrollbar {
    width: 6px;
}

.faq-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.faq-scroll::-webkit-scrollbar-thumb {
    background: rgba(240, 90, 43, .5);
    border-radius: 8px;
}

.faq-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(240, 90, 43, .8);
}

@media (max-width: 767px) {
    .faq-scroll {
        max-height: 460px;
    }
}

/* Team member cards — force a 1:1 (square) box regardless of the uploaded
    dimensions. The frontend style.css has no object-fit/aspect-ratio utility,
    so it's scoped here; object-fit:cover fills the square and crops the
   overflow (no stretching). */
.team-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Team carousel — same Swiper pattern as .ourTeamMembers (testimonials):
   autoplay, same breakpoints (1 / 2 / 4 / 5). A carousel (rather than a fixed
   grid) means a partial "row" (e.g. today's 4 members) centers itself instead
   of sitting left-aligned with a lopsided gap, and it scales cleanly as more
   members are added. */
.team-swiper .swiper-wrapper {
    align-items: stretch;
}

.team-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Match the card family used by .svc-card / .feedback-card / .about-stat —
   tinted border + shadow + hover-lift, instead of a flat bg-white card. */
.team-card {
    width: 100%;
    background: #fff;
    border: 1px solid #EFE9F7;
    border-radius: 18px;
    box-shadow: 0 18px 40px -30px rgba(66, 66, 255, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -30px rgba(66, 66, 255, 0.55);
}

/* Rich FAQ answers (admin-authored, sanitized HTML). Frontend has no JIT, so the
   typography is scoped here — mirrors the service category page's .rich-body. */
.rich-body {
    font-family: Inter, sans-serif;
}

.rich-body p {
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: rgb(5 23 45);
}

.rich-body h2 {
    font-family: Inter, sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #202050;
}

.rich-body h3 {
    font-family: Inter, sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #202050;
}

.rich-body h4 {
    font-family: Inter, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #202050;
}

.rich-body ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.rich-body ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.rich-body li {
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: rgb(5 23 45);
    margin-bottom: 0.5rem;
}

.rich-body a {
    color: #F05A2B;
    text-decoration: underline;
}

.rich-body a:hover {
    opacity: 0.85;
}

.rich-body strong,
.rich-body b {
    font-weight: 700;
}

.rich-body em,
.rich-body i {
    font-style: italic;
}

.rich-body blockquote {
    border-left: 3px solid #F05A2B;
    padding-left: 1rem;
    color: rgb(5 23 45);
    font-style: italic;
}

.rich-body table {
    width: 100%;
    border-collapse: collapse;
}

.rich-body th,
.rich-body td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.rich-body th {
    background: #f9fafb;
    font-weight: 600;
}

.rich-body img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    object-fit: initial;
    border-radius: 0.5rem;
    vertical-align: top;
}

/* Video embeds (YouTube/Vimeo) — responsive 16:9. Empty iframes (src stripped by the
   sanitizer for an untrusted URL) are hidden so they don't leave a blank box. */
.rich-body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 0.5rem;
    margin: 0.75rem 0;
}

.rich-body iframe:not([src]) {
    display: none;
}

/* Legal71 Corner — admin-managed grid of PDF/link cards + optional side banner.
   Fully scoped (frontend has no Tailwind JIT). */
.corner-head {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    color: #14171A;
    background: #ffffff;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    border: 1px solid #F05A2B;
    border-color: #F05A2B;
    box-shadow: 0 6px 18px rgba(240, 90, 43, .12);
    transform: translateY(-2px);
}

.corner-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

.corner-grid {
    flex: 1 1 62%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-content: start;
}

.corner-card {
    position: relative;
}

.corner-card-face {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1rem;
    min-height: 68px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.corner-card-face:hover {
    border-color: #F05A2B;
    box-shadow: 0 6px 18px rgba(240, 90, 43, .12);
    transform: translateY(-2px);
}

.corner-card-caret {
    width: 18px;
    height: 18px;
    margin-left: auto;
    flex-shrink: 0;
    color: #9aa0a6;
    transition: transform .2s ease;
}

.corner-card[data-open] .corner-card-caret {
    transform: rotate(180deg);
}

/* In-card file panel — opens over the card, scrollable, with an ✕ close. */
.corner-files-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border: 1px solid #F05A2B;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(20, 23, 26, .18);
    overflow: hidden;
}

.corner-files-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.4rem 0.55rem 0.9rem;
    background: #FCEAE3;
    border-bottom: 1px solid #f4d9cd;
}

.corner-files-title {
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #14171A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.corner-files-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #F05A2B;
    cursor: pointer;
}

.corner-files-close:hover {
    background: rgba(240, 90, 43, .12);
}

.corner-files-close svg {
    width: 18px;
    height: 18px;
}

.corner-files-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    max-height: 232px;
    overflow-y: auto;
}

.corner-files-list li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.6rem;
    border-radius: 8px;
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #14171A;
    transition: background .12s, color .12s;
}

.corner-files-list li a:hover {
    background: #FCEAE3;
    color: #F05A2B;
}

.corner-file-ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #F05A2B;
}

.corner-file-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.corner-file-ext {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #9aa0a6;
}

.corner-files-empty {
    padding: 1rem;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    color: #9aa0a6;
}

.corner-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: #FCEAE3;
    color: #F05A2B;
}

.corner-card-icon .corner-icon {
    width: 24px;
    height: 24px;
}

.corner-card-title {
    font-family: Inter, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #14171A;
}

.corner-banner {
    flex: 1 1 30%;
    min-width: 260px;
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.corner-banner img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .corner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .corner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-basis: 100%;
        gap: 0.6rem;
    }

    .corner-card-face {
        padding: 0.75rem;
        gap: 0.6rem;
        min-height: 60px;
    }

    .corner-card-icon {
        width: 40px;
        height: 40px;
    }

    .corner-card-title {
        font-size: 0.85rem;
    }

    .corner-banner {
        flex-basis: 100%;
    }
}

/* Section backgrounds — soft, distinct tints so the corner + video sections stand out. */
#corner {
    background: linear-gradient(180deg, #FFF4EF 0%, #FFFBF9 100%);
}

/* Tabbed Video Library — soft neutral band; category accent comes from --vaccent. */
.video-library {
    background: linear-gradient(180deg, #F5F7FB 0%, #FBFCFE 100%);
}

.video-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.video-tab {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.6rem 1.15rem;
    border-radius: 9999px;
    border: 1.5px solid #E2E6EE;
    background: #fff;
    color: #4B5163;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.video-tab:hover {
    border-color: var(--vaccent, #F05A2B);
    color: var(--vaccent, #F05A2B);
}

.video-tab.is-active {
    background: var(--vaccent, #F05A2B);
    border-color: var(--vaccent, #F05A2B);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.video-panel[hidden] {
    display: none;
}

/* Video carousel cards. Scoped — no frontend JIT. */
.video-head {
    text-align: center;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: #202050;
    margin-bottom: 1.75rem;
}

.video-swiper {
    position: relative;
    padding: 0 4px;
}

.video-card {
    height: 100%;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b1220;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.video-frame:hover .video-thumb::after {
    background: rgba(0, 0, 0, 0.20);
}

.video-play {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.video-frame:hover .video-play {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.4);
}

.video-play svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    margin-left: 3px;
}

.video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    color: #202050;
    padding-top: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-nav {
    position: absolute;
    /* Centred on the thumbnail: JS sets --video-nav-top to half the frame height
       (the caption below would otherwise pull a plain % off-centre). 50% falls back
       to the whole-card centre if JS hasn't run yet. */
    top: var(--video-nav-top, 50%);
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    color: #202050;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    border: 0;
}

.video-nav svg {
    width: 18px;
    height: 18px;
}

.video-prev {
    left: -6px;
}

.video-next {
    right: -6px;
}

.video-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .video-prev {
        left: -18px;
    }

    .video-next {
        right: -18px;
    }
}

/* ============================================================
   Services section — dense, informative category cards: icon +
   title + blurb + a 2-column checklist of the actual services on
   offer. Replaces the old full-width cover-image bands. Scoped.
   ============================================================ */
.svc-section {
    background: #F8F8FF;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .svc-section { padding: 4rem 0; }
}

.svc-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.svc-head-text {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.svc-badge {
    align-self: flex-start;
    background: #DEF5FC;
    color: #16CAFF;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.2rem 1.1rem;
    border-radius: 9999px;
}

.svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background-color: #14171A;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 18px 42px -26px rgba(15, 23, 42, 0.7);
}

/* Dark scrim over the cover image so the text stays legible on any photo. */
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(15, 17, 20, 0.82) 0%, rgba(15, 17, 20, 0.9) 100%);
}

.svc-card > * { position: relative; z-index: 1; }

@media (min-width: 768px) {
    .svc-card { padding: 1.85rem; }
}

.svc-title {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.4rem;
}

.svc-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-list {
    list-style: none;
    margin: 0;
    padding: 1.05rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    /* Mobile-first single column; minmax(0,1fr) stops long items from overflowing. */
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem 1.25rem;
}

@media (min-width: 640px) {
    .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.svc-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.svc-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 1.15rem;
    height: 1.15rem;
    line-height: 1.15rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #16A34A;
    background: #E7F7EC;
    border-radius: 9999px;
}

.svc-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.35rem;
}

.svc-book { font-size: 0.85rem; }
.svc-wa { width: 16px; height: 16px; }

.svc-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #FF9366;
    transition: color 0.15s ease;
}

.svc-more:hover { color: #ffb08c; }

.svc-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ============================================================
   About section — compact intro + value checklist + stats grid
   (replaced a spacious decorative image collage). Scoped.
   ============================================================ */
.about-section {
    background: #FFF8F6;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .about-section { padding: 4rem 0; }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.about-badge {
    align-self: flex-start;
    background: #E9EAFF;
    color: #3840F7;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.2rem 1.1rem;
    border-radius: 9999px;
}

.about-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #4B5163;
    max-width: 560px;
}

.about-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem 1.5rem;
}

@media (min-width: 560px) {
    .about-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.about-points li {
    position: relative;
    padding-left: 1.95rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #202050;
}

.about-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4242FF, #B225FF);
    border-radius: 9999px;
}

.about-cta { align-self: flex-start; margin-top: 0.4rem; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-stat {
    background: #fff;
    border: 1px solid #F3E6E0;
    border-radius: 18px;
    padding: 1.4rem 1.25rem;
    box-shadow: 0 16px 36px -28px rgba(66, 66, 255, 0.55);
}

.about-stat-value {
    display: block;
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1;
    background: linear-gradient(112deg, #4242FF 0%, #B225FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-stat-label {
    display: block;
    margin-top: 0.45rem;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
    color: #5B607A;
}

/* Hero "NBR Audit Checker" CTA — soft glowing pulse so it stands out from the other buttons. */
@keyframes nbrGlow {
    0%, 100% { box-shadow: 0 6px 18px rgba(96, 60, 235, 0.32); }
    50% { box-shadow: 0 10px 34px rgba(150, 60, 240, 0.62); }
}
.nbr-cta { animation: nbrGlow 2.2s ease-in-out infinite; }
.nbr-cta:hover { animation-play-state: paused; }

/* Hero trust row — quick highlights under the CTAs. Scoped (no frontend JIT). */
.hero-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.hero-trust li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #202050;
}

.hero-trust li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4242ff, #b225ff);
    border-radius: 9999px;
}
