/* ==========================================================================
   Doofinder Alternatives — Buyer's Guide
   Scoped under .doofinder-alternatives. Reuses theme fonts (Roboto/Heavy,
   Roboto) and palette (#1B1851, #4842C1, #33268C, #fff031) — patterns adapted
   from competitors.css / platforms.css.
   ========================================================================== */

.doofinder-alternatives {
    background: #fff;
    overflow-x: hidden;
}

.doofinder-alternatives .container {
}

.doofinder-alternatives .section-intro {
    color: #3A3A3A;
    text-align: center;
    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%; /* 25.16px */
    margin: 0 auto 48px;
}

.doofinder-alternatives .block {
   max-width: 1270px;
   margin-left: auto;
   margin-right: auto;
   padding: 45px 20px 0;
   margin-top: -200px;
   background: white;
   border-radius: 24px 24px 0 0;
}

/* ----------------------------------------------------------------- HERO -- */
.doofinder-alternatives .hero {
    background: radial-gradient(412.45% 101.88% at 54.06% -1.88%, #050072 0%, #715DFF 60%, #FFF 95%);
    padding: 125px 0 250px;
}

.doofinder-alternatives .hero .inner {
    max-width: 980px;
    margin: 0 auto;
}

.doofinder-alternatives .hero .badge {
    color: #FFF030;
     font-family: Roboto;
     font-size: 24px;
     font-style: normal;
     font-weight: 900;
     line-height: 28px;
     text-transform: uppercase;
     margin-bottom: 12px;
}

.doofinder-alternatives .hero h1 {
    color: #FFF;
     font-family: PlutoRegular, Adjusted Verdana Fallback;
     font-size: 48px;
     font-style: normal;
     font-weight: 400;
     line-height: 52px;
     letter-spacing: -2.76px;
     margin-bottom: 12px;
}

.doofinder-alternatives .hero .subtitle {
   color: #FFF;
    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    margin-bottom: 38px;
}

.doofinder-alternatives .hero .btn {
   padding: 9px 35px;
    border-radius: 40px;
    background: #FFF031;
    border: 2px solid #FFF031;
    color: #030038;
    text-align: right;
    font-family: Roboto;
    font-size: 15.4px;
    font-style: normal;
    font-weight: 700;
    line-height: 23px;
    text-transform: capitalize;
    margin-bottom: 24px;
}

.doofinder-alternatives .hero .btn:hover {
    background: #fff;
    border: 2px solid #fff;
}

.doofinder-alternatives .hero .no-card {
   color: #FFF;
   text-align: center;
   font-family: Roboto;
   font-size: 16px;
   font-style: normal;
   font-weight: 500;
   line-height: 124.735%; /* 19.958px */
   margin-bottom: 10px;
}

.doofinder-alternatives .hero .rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.doofinder-alternatives .hero .rating .stars {
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
}

.doofinder-alternatives .hero .rating .rating-text {
   color: #FFF;
   font-family: Roboto;
   font-size: 12px;
   font-style: normal;
   font-weight: 400;
   line-height: 19.643px; /* 163.694% */
}

/* ---------------------------------------------------------- STICKY NAV -- */

.doofinder-alternatives .guide-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.doofinder-alternatives .guide-nav li {
    margin: 0;
}

.doofinder-alternatives .guide-nav a {
    display: block;
    border-radius: 24px;
    border: 1px solid #1B1851;
    color: #1B1851;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 115%; /* 18.4px */
    padding: 12px 24px;
    transition: color .2s ease, border-color .2s ease;
    text-decoration: none;
}

.doofinder-alternatives .guide-nav a:hover {
    background: #1B1851;
    color: white;
}

/* ----------------------------------------------- SECTION HEADINGS (h2) -- */
.doofinder-alternatives .at-a-glance h2,
.doofinder-alternatives .alternatives h2,
.doofinder-alternatives .case-study h2,
.doofinder-alternatives .final-cta h2 {
    color: #000;
      text-align: center;
      font-family: Roboto;
      font-size: 36px;
      font-style: normal;
      font-weight: 900;
      line-height: 45px;
      margin-bottom: 24px;
}

/* ------------------------------------------------------- GLANCE TABLE -- */
.doofinder-alternatives .at-a-glance {
    padding-top: 20px;
}

.doofinder-alternatives .table-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(49, 36, 133, 0.06);
    overflow-x: auto;
}

.doofinder-alternatives .glance-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.doofinder-alternatives .glance-table th {
   color: rgba(255, 255, 255, 0.70);
   font-family: Roboto;
   font-size: 15px;
   font-style: normal;
   font-weight: 700;
   line-height: normal;
   letter-spacing: 0.829px;
   text-transform: uppercase;
   
background: #1B1851;
    padding: 18px 20px;
    white-space: nowrap;
}

.doofinder-alternatives .glance-table th:first-child {
    border-top-left-radius: 12px;
}

.doofinder-alternatives .glance-table th:last-child {
    border-top-right-radius: 12px;
}

.doofinder-alternatives .glance-table td {
    padding: 18px 20px;
    color: #2A2A3A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    border-bottom: 1px solid #EFEFF4;
    vertical-align: middle;
}

.doofinder-alternatives .glance-table tbody tr:nth-child(odd) {
    background: #FAFAFC;
}

.doofinder-alternatives .glance-table td.tool {
    white-space: nowrap;    
    color: #1B1851;
    font-family: Roboto;
    font-size: 15.071px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}

.doofinder-alternatives .glance-table tr.is-doofinder {
    background: #EEEDFE !important;
}

.doofinder-alternatives .glance-table td.ai {
    text-align: center;
   color: #889;
   font-size: 13.995px;
   font-style: normal;
   font-weight: 400;
   line-height: normal;
}

.doofinder-alternatives .is-doofinder td.ai {
   color: #1D9E75;
   font-size: 16.148px;
}

.doofinder-alternatives .is-doofinder {
   font-weight: bold !important;
}

.doofinder-alternatives .glance-table td.ai svg {
    vertical-align: middle;
}

/* category pills */
.doofinder-alternatives .pill {
    display: inline-block;
    color: #3C3489;
    font-family: Roboto;
    font-size: 10.765px;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.538px;
    
padding: 5px 12px;
    border-radius: 40px;
    white-space: nowrap;
}

.doofinder-alternatives .pill-primary    { color: #3C3489; }
.doofinder-alternatives .pill-native     { background: #E6F1FB; color: #185FA5; }
.doofinder-alternatives .pill-enterprise { background: #EEEDFE; color: #3C3489; }
.doofinder-alternatives .pill-direct     { background: #EAF3DE; color: #2D7A1F; }

.doofinder-alternatives .scope {
   display: flex;
   gap: 5px;
   flex-wrap: wrap;
}
.doofinder-alternatives .scope span {
   color: #4A4A6A;
   font-family: Roboto;
   font-size: 13.995px;
   font-style: normal;
   font-weight: 400;
   line-height: normal;
   padding: 3px 6px;
   border-radius: 4.306px;
   border: 1.077px solid rgba(72, 66, 193, 0.12);
   background: #F6F5FC;   
}

.doofinder-alternatives .is-doofinder .scope span {
   color: #4842C1;
   border: 1.077px solid rgba(72, 66, 193, 0.20);
   background: #EEEDFE;
}


/* ------------------------------------------------- ALTERNATIVE CARDS -- */
.doofinder-alternatives .alternatives {
    background: #fff;
    padding: 80px 0 40px;
}

.doofinder-alternatives .alt-group {
    margin-bottom: 19px;
    scroll-margin-top: 90px;
}

.doofinder-alternatives .alt-group .disclaimer {
   color: #ABABAB;
   font-family: Roboto;
   font-size: 14px;
   font-style: normal;
   font-weight: 400;
   line-height: 23px; /* 164.286% */
   margin-top: 23px;
   margin-bottom: 44px;
}

.doofinder-alternatives .group-heading {
    color: #4842C1;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 140% */
    margin-bottom: 16px;
}

.doofinder-alternatives .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.doofinder-alternatives .alt-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E3E2E9;
    border-radius: 12px;
    padding: 40px 34px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.doofinder-alternatives .alt-card:hover {
    box-shadow: 0 10px 28px rgba(49, 36, 133, 0.08);
    transform: translateY(-3px);
}

/* the featured (Shopify) card spans the full width like the design */
.doofinder-alternatives .alt-card.is-featured {
    grid-column: 1 / -1;
}

.doofinder-alternatives .card-badge {
    align-self: flex-start;
    color: #FFF;
    font-family: Roboto;
    font-size: 10.765px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.538px;
    border-radius: 107.653px;
    background: #8979FF;
    padding: 3px 10px;
    margin-bottom: 16px;
}

/* brand logo — image placeholder (real logo swappable via card "image" field) */
.doofinder-alternatives .logo-ph {
    display: inline-flex;
    align-items: center;
    height: 40px;
    margin-bottom: 18px;
    align-self: flex-start;
}

.doofinder-alternatives .logo-ph img {
    max-height: 40px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

.doofinder-alternatives .card-body {
    color: #212529;
    
    /* Paragraph */
    color: #212529;
    
    /* Paragraph */
    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%; /* 25.16px */
    padding: 0;
    margin-bottom: 14px;
    flex-grow: 1;
}

.doofinder-alternatives .doofinder-note {
    border-radius: 8px;
    background: #E8E7FF;
    color: #18181B;
    
    /* Caption */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%; /* 20.72px */
    padding: 14px 16px;
    color: #2A2A3A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 30px;
}

.doofinder-alternatives .doofinder-note span {
   color: #4842C1;
}

.doofinder-alternatives .card-link {
    color: #767A7B;
    text-align: center;
    font-family: Roboto;
    font-size: 15.4px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* 149.351% */
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
}


/* ------------------------------- CASE STUDIES (ported from home.css) -- */
.doofinder-alternatives .testimonials-section {
    padding: 40px 0 20px;
    background: white;
}

.doofinder-alternatives .testimonials-section h2 {
    color: #000;
    text-align: center;
    font-family: Roboto;
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 45px;
    margin-bottom: 50px;
}

.doofinder-alternatives .testimonials-section .slider .slides-viewport {
    overflow: hidden;
    padding-top: 50px;
    position: relative;
    cursor: grab;
    user-select: none;
}

.doofinder-alternatives .testimonials-section .slider .slides-track {
    position: relative;
}

/* --- slide states --- */
.doofinder-alternatives .testimonials-section .slider .single-slide {
    width: 100%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.97) translateY(18px);
    filter: blur(4px);
    transition:
        opacity 0.48s cubic-bezier(0.4, 0, 1, 1),
        transform 0.48s cubic-bezier(0.4, 0, 1, 1),
        filter 0.48s cubic-bezier(0.4, 0, 1, 1);
}

.doofinder-alternatives .testimonials-section .slider .single-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    transform: none;
    filter: none;
}

.doofinder-alternatives .testimonials-section .slider .single-slide.exiting {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    transform: scale(0.93) translateY(32px);
    filter: blur(10px);
}

/* --- staggered entrance --- */
.doofinder-alternatives .testimonials-section .slider .single-slide.active .images {
    animation: tsm-images 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.doofinder-alternatives .testimonials-section .slider .single-slide.active .content h3 {
    animation: tsm-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}
.doofinder-alternatives .testimonials-section .slider .single-slide.active .content .description {
    animation: tsm-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}
.doofinder-alternatives .testimonials-section .slider .single-slide.active .content .person {
    animation: tsm-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}
.doofinder-alternatives .testimonials-section .slider .single-slide.active .content .numbers {
    animation: tsm-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}
.doofinder-alternatives .testimonials-section .slider .single-slide.active .content a {
    animation: tsm-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes tsm-images {
    from { opacity: 0; transform: translateX(-52px); filter: blur(8px); }
    to   { opacity: 1; transform: translateX(0);     filter: blur(0);   }
}

@keyframes tsm-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* --- slide media --- */
.doofinder-alternatives .testimonials-section .slider .single-slide .images {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .images img {
    width: calc(50% - 13px);
}

.doofinder-alternatives .testimonials-section .slider .single-slide .images img:first-child {
    margin-top: -50px;
}

/* --- slide content --- */
.doofinder-alternatives .testimonials-section .slider .single-slide .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content h3 {
    color: #000;
    font-family: Roboto;
    font-size: 28px;
    font-style: normal;
    font-weight: 900;
    line-height: 124.735%;
    margin-bottom: 23px;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content .description {
    color: #585a56;
    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 122%;
    margin-bottom: 16px;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content .person {
    color: #8979ff;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 47px;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content .numbers {
    margin-bottom: 43px;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content .numbers div {
    margin-bottom: 6px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content .numbers span {
    color: #8979ff;
    font-family: Roboto;
    font-size: 21.339px;
    font-style: normal;
    font-weight: 700;
    line-height: 22.579px;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content .numbers span:first-child {
    color: #000;
    font-family: Roboto;
    font-size: 56.903px;
    font-style: normal;
    font-weight: 900;
    line-height: 51.568px;
}

.doofinder-alternatives .testimonials-section .slider .single-slide .content a {
    color: #33268c;
    font-family: Roboto;
    font-size: 16.024px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.44px;
    letter-spacing: 0.501px;
    text-decoration-line: underline;
    text-underline-position: from-font;
}

/* --- dots --- */
.doofinder-alternatives .testimonials-section .slider .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.doofinder-alternatives .testimonials-section .slider .slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d3d5d8;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.doofinder-alternatives .testimonials-section .slider .slider-dots button.active {
    background: #8979ff;
}

/* ---------------------------------------------------------- LOGO STRIP -- */
.doofinder-alternatives .logos-section {
    background: #fff;
    padding: 72px 0 40px;
}

.doofinder-alternatives .logos-title {
    color: #1B1851;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.8px;
    margin-bottom: 8px;
}

/* ---------------------------------------------------------- FINAL CTA -- */
.doofinder-alternatives .final-cta {
    background: linear-gradient(0deg, #000 0%, #3D36B7 100%);
    padding: 84px 0;
}

.doofinder-alternatives .final-cta h2 {
   color: #FFF;
   text-align: center;
   font-family: Roboto;
   font-size: 36px;
   font-style: normal;
   font-weight: 900;
   line-height: 45px; /* 125% */
   margin-bottom: 14px;
}

.doofinder-alternatives .final-cta .subtitle {
   color: #FFF;
   text-align: center;
   font-family: Roboto;
   font-size: 24px;
   font-style: normal;
   font-weight: 400;
   line-height: 45px; /* 187.5% */
   margin-bottom: 36px;
}

.doofinder-alternatives .final-cta .cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.doofinder-alternatives .final-cta .btn {
    display: inline-block;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 19px 40px;
    border-radius: 46px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.doofinder-alternatives .final-cta .btn-primary {
    border-radius: 40px;
     border: 1px solid #fff031;
     background: #fff031;
     padding: 12px 32px;
     color: #1b1851;
     font-family: Roboto;
     font-size: 15.4px;
     font-weight: 700;
     line-height: 23px;
     text-decoration: none;
     transition: background 0.2s, border-color 0.2s;
     text-transform: capitalize;
}

.doofinder-alternatives .final-cta .btn-primary:hover {
    background: #fff;
    border-color: #fff;
}

.doofinder-alternatives .final-cta .btn-secondary {
   border-radius: 40px;
    border: 1px solid #fff031;
    padding: 12px 32px;
    color: #fff031;
    font-family: Roboto;
    font-size: 15.4px;
    font-weight: 700;
    line-height: 23px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    background: transparent;
    text-transform: capitalize;
}

.doofinder-alternatives .final-cta .btn-secondary:hover {
    background: #fff031;
    border-color: #fff031;
    color: #1b1851;
}

.doofinder-alternatives .final-cta .no-card {
    color: rgba(255, 255, 255, 0.7);
    font-family: Roboto, sans-serif;
    font-size: 14px;
}

.doofinder-alternatives .final-cta .features {
   display: flex;
   width: 100%;
   align-items: center;
   flex-wrap: wrap;
   justify-content: center;
   gap: 12px;
}

.doofinder-alternatives .final-cta .features .feature {
   display: flex;
   align-items: center;
   gap: 5px;
}

.doofinder-alternatives .final-cta .features .feature span {
   color: white;
   font-family: Roboto;
   font-size: 17px;
   font-style: normal;
   font-weight: 400;
   line-height: 28.9px;
}


/* ------------------------------------------------------- RESPONSIVE -- */
@media (max-width: 992px) {
    .doofinder-alternatives .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* stack testimonial media above text on tablet/mobile */
    .doofinder-alternatives .testimonials-section .slider .single-slide .images img:first-child {
        margin-top: 0;
    }
}

@media (max-width: 768px) {

    .doofinder-alternatives .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .doofinder-alternatives .at-a-glance h2,
    .doofinder-alternatives .alternatives h2,
    .doofinder-alternatives .testimonials-section h2,
    .doofinder-alternatives .final-cta h2 {
        font-size: 26px;
        line-height: 34px;
        letter-spacing: -1px;
        margin-bottom: 32px;
    }

    .doofinder-alternatives .guide-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .doofinder-alternatives .guide-nav a {
        padding: 16px 14px;
        font-size: 14px;
        white-space: nowrap;
    }

    .doofinder-alternatives .cards {
        grid-template-columns: 1fr;
    }

    .doofinder-alternatives .testimonials-section .slider .single-slide .content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .doofinder-alternatives .testimonials-section .slider .single-slide .content .numbers span:first-child {
        font-size: 38px;
        line-height: 38px;
    }

    .doofinder-alternatives .testimonials-section .slider .single-slide .content .person {
        margin-bottom: 24px;
    }

    .doofinder-alternatives .testimonials-section .slider .single-slide .content .numbers {
        margin-bottom: 24px;
    }
}
