/* =========================================================
   WHY BASKIT PAGE
   (builds on pos-guide.css and whatsapp-bill.css)
   ========================================================= */

/* USP GRID */

.why-usp-section {
    padding-top: 10px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.why-usps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-usp {
    display: block;
    padding: 24px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(16, 24, 40, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-usp:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.why-usp i {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}

.why-usp h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: var(--heading-dark);
}

.why-usp p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}


/* MOBILE FIRST */

.why-mobile .pos-mobile-content h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.why-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pos-mobile-card .why-checklist li {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-200);
    color: var(--heading-dark);
    font-size: 15px;
    font-weight: 600;
}

.why-checklist li:last-child {
    border-bottom: 0;
}

.pos-mobile-card .why-checklist i {
    flex: 0 0 24px;
    margin-right: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
}


/* AI */

.why-plain-image {
    box-shadow: none;
    border-radius: 0;
}

.why-contrast {
    display: flex;
    gap: 10px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fef3f2;
    color: #912018;
    font-size: 14px;
    line-height: 1.6;
}

.why-contrast i {
    margin-top: 4px;
}


/* HARDWARE & SCREENS */

.why-devices {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto 28px;
}

.why-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.why-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--heading-dark);
    font-size: 14px;
    font-weight: 600;
}

.why-chip i {
    color: var(--primary);
}

.why-hardware {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.why-hardware-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--heading-dark);
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.why-hardware-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.why-hardware-item i {
    color: var(--primary);
    font-size: 24px;
}

.why-hardware-item span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.why-hardware-item small {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}


/* CLOUD VS SERVER */

.why-versus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-versus-card {
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.why-versus-card h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 800;
}

.why-versus-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-versus-card li {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    font-size: 15px;
    line-height: 1.55;
}

.why-versus-card li i {
    margin-top: 4px;
}

.why-versus-card.is-other {
    background: var(--gray-50);
}

.why-versus-card.is-other h3 {
    color: var(--muted);
}

.why-versus-card.is-other li {
    color: var(--text);
}

.why-versus-card.is-other li i {
    color: #d92d20;
}

.why-versus-card.is-baskit {
    background: var(--primary-light);
    border: 2px solid var(--primary);
}

.why-versus-card.is-baskit h3 {
    color: var(--heading-dark);
}

.why-versus-card.is-baskit h3 i,
.why-versus-card.is-baskit li i {
    color: var(--primary);
}

.why-versus-card.is-baskit li {
    color: var(--heading-dark);
    font-weight: 500;
}


/* STATS */

.why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-stats > div {
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: var(--heading-dark);
    color: var(--white);
}

.why-stats strong {
    display: block;
    color: #4ade80;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.1;
}

.why-stats span {
    display: block;
    margin: 6px 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.why-stats p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}


/* COMPARISON */

.why-compare thead th:nth-child(2) {
    color: #4ade80;
}

.why-compare tbody td:nth-child(2) {
    color: var(--heading-dark);
    font-weight: 600;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .why-usps,
    .why-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-hardware {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .why-versus {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .why-usp-section {
        margin-top: 0;
        padding-top: 40px;
    }

    .why-usps,
    .why-stats {
        grid-template-columns: 1fr;
    }

    .why-hardware {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-versus-card {
        padding: 24px 20px;
    }
}


/* =========================================================
   WHY DETAIL PAGES (mobile-first, ai, any-device, cloud, data-safety)
   ========================================================= */

/* Feature groups */

.why-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.why-group {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.why-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
    color: var(--heading-dark);
}

.why-group h3 i {
    color: var(--primary);
}

.why-group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-group li {
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--heading-dark);
    font-size: 13px;
    font-weight: 500;
}

/* Scenario cards (what happens if...) */

.why-scenarios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-scenario {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.why-scenario > i {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}

.why-scenario h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--heading-dark);
}

.why-scenario p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
}

/* Cloud diagram */

.why-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--heading-dark);
    color: var(--white);
}

.why-diagram-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why-diagram-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: 600;
}

.why-diagram-node i {
    width: 20px;
    color: #4ade80;
    text-align: center;
}

.why-diagram-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 26px 22px;
    border-radius: 20px;
    background: var(--primary);
    text-align: center;
}

.why-diagram-hub i {
    font-size: 40px;
}

.why-diagram-hub strong {
    font-size: 17px;
}

.why-diagram-hub span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.why-diagram-caption {
    max-width: 1000px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* FAQ */

.why-faq {
    max-width: 860px;
    margin: 0 auto;
}

.why-faq details {
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.why-faq summary {
    position: relative;
    padding: 18px 50px 18px 22px;
    color: var(--heading-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.why-faq summary::-webkit-details-marker {
    display: none;
}

.why-faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
}

.why-faq details[open] summary::after {
    content: "−";
}

.why-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}

/* More reasons strip */

.why-more {
    padding: 70px 0 0;
}

.why-more h2 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: var(--heading-dark);
}

.why-more-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.why-more-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--heading-dark);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.why-more-links a:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.why-more-links a.is-current {
    border-color: var(--primary);
    background: var(--primary-light);
    pointer-events: none;
}

.why-more-links i {
    color: var(--primary);
    font-size: 20px;
}

.why-usp-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .why-groups {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-more-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .why-scenarios {
        grid-template-columns: 1fr;
    }

    .why-diagram {
        grid-template-columns: 1fr;
        padding: 26px 20px;
    }

    .why-diagram-hub {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .why-groups {
        grid-template-columns: 1fr;
    }

    .why-more-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3-column versus (mobile-first page) */

.why-versus-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
}

.why-versus-3 .why-versus-card {
    position: relative;
}

.why-versus-text {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
}

.why-inline-badge {
    top: -12px;
    left: 30px;
}

/* Link cards built on .scan-pick */

a.scan-pick {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

a.scan-pick:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.why-kit {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
}

.why-kit h3,
.why-hw-grid h3 {
    color: var(--heading-dark);
}

.why-hw-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
}

/* Tips */

.why-tips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-tip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
}

.why-tip i {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 22px;
}

.why-tip p {
    margin: 0;
    color: var(--heading-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* Screens & platforms */

.why-screens {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.why-platforms {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.why-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--heading-dark);
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.why-platform:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.why-platform i {
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 32px;
}

.why-platform strong {
    font-size: 16px;
}

.why-platform span {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .why-screens,
    .why-platforms {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-tips {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-kit,
    .why-hw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .why-versus-3 {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }
}

@media (max-width: 650px) {
    .why-screens,
    .why-platforms,
    .why-tips,
    .why-kit,
    .why-hw-grid {
        grid-template-columns: 1fr;
    }
}

.why-section-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.why-section-link:hover {
    text-decoration: underline;
}

.why-center-link {
    margin: 10px 0 0;
    text-align: center;
}
