/* ===== Sub-page header (pricing, case studies, landing pages) ===== */
.page-header {
    padding: 150px 0 60px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
    text-align: center;
}
.page-header .section-desc { margin-bottom: 0; }
.page-header .breadcrumb-mini { font-size: 0.9rem; color: #64748b; margin-bottom: 15px; }
.page-header .breadcrumb-mini a { color: var(--primary); text-decoration: none; }

/* ===== Pricing ===== */
.pricing-card {
    background: #fff;
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(79, 70, 229, 0.12); }
.pricing-card.featured { border: 2px solid var(--primary); box-shadow: 0 20px 60px rgba(79, 70, 229, 0.18); }
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-1); color: #fff; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; padding: 5px 16px; border-radius: 20px; white-space: nowrap;
}
.pricing-card h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.4rem; margin-bottom: 8px; }
.pricing-price { font-family: 'Rajdhani', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.pricing-period { color: #64748b; font-size: 0.9rem; margin-bottom: 15px; }
.pricing-desc { color: #64748b; font-size: 0.95rem; }
.pricing-features { list-style: none; padding: 0; margin: 20px 0 30px; flex-grow: 1; }
.pricing-features li { padding: 7px 0; color: #334155; display: flex; gap: 10px; align-items: flex-start; }
.pricing-features li i { color: #10b981; margin-top: 3px; }
.pricing-card .btn-cosmic, .pricing-card .btn-outline-cosmic { justify-content: center; width: 100%; }

/* ===== Trust badges ===== */
.trust-strip { padding: 50px 0; background: #f8fafc; }
.trust-item {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid rgba(79, 70, 229, 0.1); border-radius: 14px;
    padding: 16px 20px; height: 100%; text-decoration: none; color: inherit; transition: all 0.3s ease;
}
a.trust-item:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1); color: inherit; }
.trust-item img { height: 44px; width: auto; max-width: 80px; object-fit: contain; }
.trust-item .trust-icon {
    width: 46px; height: 46px; border-radius: 12px; background: #f0f4ff; color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.trust-item strong { display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; line-height: 1.2; }
.trust-item span { color: #64748b; font-size: 0.85rem; }

/* ===== Case studies ===== */
.case-card {
    background: #fff; border: 1px solid rgba(79, 70, 229, 0.12); border-radius: 20px; overflow: hidden;
    height: 100%; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: all 0.4s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(79, 70, 229, 0.12); color: inherit; }
.case-card img { width: 100%; height: 220px; object-fit: cover; }
.case-card .case-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.case-card .case-meta { font-size: 0.8rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.case-card h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.3rem; }
.case-card p { color: #64748b; font-size: 0.95rem; flex-grow: 1; }
.case-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: 20px; margin-bottom: 40px; }
.case-block { margin-bottom: 40px; }
.case-block h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; margin-bottom: 15px; }
.case-block p { color: #475569; white-space: pre-line; }
.result-card { background: #f0f4ff; border-radius: 16px; padding: 25px; text-align: center; height: 100%; }
.result-card .result-value { font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.result-card .result-label { color: #475569; font-size: 0.95rem; }
.tech-tag { display: inline-block; background: #f0f4ff; color: var(--primary); border-radius: 20px; padding: 5px 14px; margin: 0 6px 8px 0; font-size: 0.85rem; }
.case-sidebar { background: #f8fafc; border-radius: 16px; padding: 25px; }
.case-sidebar dt { font-size: 0.8rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }
.case-sidebar dd { font-weight: 600; margin-bottom: 15px; }

/* ===== Landing pages ===== */
.landing-content { color: #475569; font-size: 1.02rem; }
.landing-content h2, .landing-content h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #0f172a; margin: 30px 0 15px; }
.landing-content ul { padding-left: 20px; }
.landing-features { list-style: none; padding: 0; }
.landing-features li { background: #f8fafc; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; display: flex; gap: 12px; }
.landing-features li i { color: #10b981; font-size: 1.1rem; }
.landing-faq .accordion-button { font-weight: 600; }
.landing-faq .accordion-button:not(.collapsed) { background: #f0f4ff; color: var(--primary); }

@media (max-width: 767px) {
    .page-header { padding: 120px 0 40px; }
    .pricing-price { font-size: 2.1rem; }
}

/* ===== Legal pages & blog (new-design versions of the old pages) ===== */
.legal-card {
    background: #fff; border: 1px solid rgba(79, 70, 229, 0.12); border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); padding: 45px 50px;
}
.legal-card > :first-child { margin-top: 0; }
.legal-card h2 { font-size: 1.5rem; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--primary); }
.legal-updated { margin: 35px 0 0; padding-top: 20px; border-top: 1px dashed rgba(79, 70, 229, 0.2); color: #64748b; font-size: 0.95rem; }
.blog-media { overflow: hidden; background: #f0f4ff; }
.blog-media img, .blog-media iframe, .blog-media video { display: block; width: 100%; height: 220px; object-fit: cover; border: 0; }
.blog-media-lg { border-radius: 16px; }
.blog-media-lg img, .blog-media-lg iframe, .blog-media-lg video { height: auto; aspect-ratio: 16 / 9; }
.blog-card h4 a { color: #0f172a; text-decoration: none; }
.blog-card h4 a:hover { color: var(--primary); }
.blog-card .case-meta i { margin-right: 4px; }
.blog-sidebar h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; margin-bottom: 12px; }
.blog-side-list { list-style: none; padding: 0; margin: 0; }
.blog-side-list li { padding: 12px 0; border-bottom: 1px solid rgba(79, 70, 229, 0.08); }
.blog-side-list li:last-child { border-bottom: 0; }
.blog-side-list a { display: block; color: #0f172a; font-weight: 600; text-decoration: none; line-height: 1.4; }
.blog-side-list a:hover { color: var(--primary); }
.blog-side-list span { font-size: 0.8rem; color: #94a3b8; }
.pagination .page-link { color: var(--primary); border-radius: 10px; margin: 0 3px; border-color: rgba(79, 70, 229, 0.15); }
.pagination .page-item.active .page-link { background: var(--gradient-1); border-color: transparent; color: #fff; }
@media (max-width: 767px) {
    .legal-card { padding: 28px 22px; }
}

/* ===== Footer legal links ===== */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 16px; }
.footer-legal a { color: #cbd5e1; font-size: 0.86rem; font-weight: 500; text-decoration: none; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(148, 163, 184, 0.22); transition: all 0.25s ease; }
.footer-legal a:hover { color: #fff; background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%); border-color: transparent; box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35); }
.footer-bottom p { color: #94a3b8; }

/* ===== Footer payment methods ===== */
.footer-payments {
    position: relative; overflow: hidden;
    max-width: 820px; margin: 50px auto 0; padding: 22px 28px 20px;
    text-align: center; border-radius: 22px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(79, 70, 229, 0.28) 0%, transparent 55%),
        radial-gradient(120% 140% at 100% 100%, rgba(14, 165, 233, 0.22) 0%, transparent 55%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.footer-payments::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #4f46e5, #0ea5e9, #10b981);
}
.footer-payments-title {
    color: #e2e8f0; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px;
}
.footer-payments-title i { color: #34d399; margin-right: 4px; }
.footer-payments img { width: 100%; max-width: 700px; height: auto; display: inline-block; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25)); }
@media (max-width: 575px) { .footer-payments { margin-top: 35px; padding: 18px 14px 14px; border-radius: 16px; } }
