/* ==========================================================================
   ASBO — Ichki sahifalar uchun qo'shimcha uslublar (pages.css)
   styles.css ustiga qo'shiladi. Narxlar / Biz haqimizda / Bog'lanish / Demo / FAQ.
   ========================================================================== */

.page-head {
    padding: 56px 0 24px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--muted2);
}

.page-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 auto 14px;
    max-width: 760px;
}

.page-lead {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 8px 0 24px;
}

.prose h2 {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 40px 0 14px;
}

.prose h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 26px 0 10px;
}

.prose p {
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.75;
}

.prose ul {
    margin: 0 0 16px 0;
    padding-left: 0;
    list-style: none;
}

.prose ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--muted);
    line-height: 1.65;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: var(--accent);
}

.prose a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.prose a:hover {
    text-decoration: underline;
}

/* Kartochka to'ri */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    max-width: 980px;
    margin: 24px auto;
}

.info-grid .feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-grid .feature-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* Narxlar taqqoslash jadvali */
.cmp-scroll {
    max-width: 900px;
    margin: 24px auto;
    overflow-x: auto;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cmp-table th,
.cmp-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border2);
    font-size: 14px;
}

.cmp-table thead th {
    background: var(--bg3);
    font-weight: 700;
    color: var(--text);
}

.cmp-table td.center,
.cmp-table th.center {
    text-align: center;
}

.cmp-table tr:last-child td {
    border-bottom: none;
}

.cmp-price {
    font-weight: 800;
    color: var(--accent);
}

/* Aloqa usullari */
.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 24px auto;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all .2s;
}

.contact-list a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-list small {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 12px;
}

/* Bosqichlar */
.steps {
    counter-reset: step;
    max-width: 700px;
    margin: 24px auto;
    display: grid;
    gap: 14px;
}

.steps .step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
}

.steps .step::before {
    counter-increment: step;
    content: counter(step);
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.steps .step h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.steps .step p {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
}

/* FAQ sahifasi guruh sarlavhasi */
.faq-group-title {
    max-width: 680px;
    margin: 34px auto 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

/* Ichki sahifa FAQ kartalari va "+" ikonkasi (pages.css faqat shu sahifalarda) */
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--bg3);
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: transform .3s ease, background .2s ease;
}

.feature-card:hover .faq-icon {
    background: var(--accent);
    color: #fff;
}

.prose+.section-title,
.section-title {
    margin-bottom: 8px;
}

/* Sahifa pastki bo'shlig'i — footer bilan yopishib qolmasin */
main.container {
    padding-bottom: 8px;
}

main .cta-section {
    margin: 28px 0 56px;
}

/* Mobil: sarlavha va bo'shliqlar ixchamlashsin */
@media (max-width: 640px) {
    .page-head {
        padding: 36px 0 18px;
    }

    .cmp-table th,
    .cmp-table td {
        padding: 11px 12px;
        font-size: 13px;
    }
}
