﻿/* =========================================================
   PRICING PAGE - pricing.css
   Home-page palette: blue #0b5edd, green #16b67c
   Plan cards reuse the .pricing-card styles from frontend.css
   ========================================================= */

.pp-visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -- HERO -- */
.pp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #eef4ff 0%, #f0fdf9 50%, #f8fafc 100%);
    padding: 40px 0 36px;
    text-align: center;
}
.pp-hero-dots {
    position: absolute; inset: -50%;
    background-image: radial-gradient(rgba(11,94,221,0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.55; z-index: 0;
    animation: ppDots 55s linear infinite alternate;
}
@keyframes ppDots {
    0%   { transform: translate(0,0) rotate(0deg); }
    100% { transform: translate(28px,18px) rotate(2deg); }
}
.pp-blob {
    position: absolute; border-radius: 50%;
    filter: blur(90px); z-index: 0;
    animation: ppBlob 12s infinite alternate ease-in-out;
}
.pp-blob-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(11,94,221,0.13) 0%, transparent 70%);
    top: -190px; right: -140px;
}
.pp-blob-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(22,182,124,0.13) 0%, transparent 70%);
    bottom: -160px; left: -130px;
    animation-duration: 16s; animation-delay: -6s;
}
@keyframes ppBlob {
    0%   { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.12) translate(-22px,30px); }
}
.pp-hero-inner { position: relative; z-index: 10; max-width: 760px; margin: 0 auto; }

.pp-breadcrumb {
    display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 0.85rem; font-weight: 500; color: #64748b; margin-bottom: 18px;
}
.pp-breadcrumb a { color: #475569; text-decoration: none; transition: color 0.3s; }
.pp-breadcrumb a:hover { color: #0b5edd; }
.pp-breadcrumb .sep { color: #cbd5e1; }
.pp-breadcrumb .curr { color: #0b5edd; font-weight: 600; }

.pp-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(11,94,221,0.08); border: 1px solid rgba(11,94,221,0.2);
    color: #0b5edd; border-radius: 50px; padding: 6px 16px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.4px; margin-bottom: 16px;
}
.pp-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #16b67c; animation: ppPulse 2s infinite; }
@keyframes ppPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.3); } }

.pp-title { font-size: 2.8rem; font-weight: 900; line-height: 1.18; color: #0f172a; margin: 0 0 16px; }
.pp-title span, .pp-section-title span {
    background: linear-gradient(135deg, #0b5edd, #16b67c, #0b5edd);
    background-size: 200%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: ppGradShift 4s ease infinite;
}
@keyframes ppGradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.pp-desc { font-size: 1.08rem; color: #475569; line-height: 1.7; margin: 0 auto 22px; max-width: 620px; }
.pp-desc strong { color: #0f172a; }

.pp-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pp-trust li {
    font-size: 0.82rem; font-weight: 600; color: #334155;
    background: rgba(255,255,255,0.85); border: 1px solid #e2e8f0;
    border-radius: 50px; padding: 6px 14px;
}
.pp-trust li::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: #16b67c; margin-right: 8px;
}

/* -- PLANS (cards styled by frontend.css) -- */
.pp-plans { background: #fff; padding: 56px 0 72px; overflow: hidden; }
.pp-plans .pricing-right {
    flex: none;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}

/* -- SHARED SECTION -- */
.pp-section { padding: 84px 0; background: #fff; }
.pp-section-alt { background: #f8fafc; }
.pp-head { text-align: center; margin-bottom: 48px; }
.pp-section-badge {
    display: inline-block; background: rgba(11,94,221,0.08); color: #0b5edd;
    border-radius: 50px; padding: 5px 16px;
    font-size: 0.74rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px;
}
.pp-section-title { font-size: 2.3rem; font-weight: 900; color: #0f172a; line-height: 1.22; margin: 0 0 14px; }
.pp-section-desc { font-size: 1.05rem; color: #64748b; line-height: 1.65; max-width: 640px; margin: 0 auto; }
.pp-left { text-align: left; margin-left: 0; margin-right: 0; }
.pp-faq-left .pp-section-desc { margin-bottom: 28px; }

/* -- INCLUDED SERVICES -- */
.pp-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pp-service {
    display: flex; gap: 16px; align-items: flex-start;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 24px 22px; text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative; z-index: 1;
}
.pp-service:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(11,94,221,0.12); border-color: rgba(11,94,221,0.35); }
.pp-service-ic {
    position: relative; z-index: 1;
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0b5edd, #16b67c); color: #fff;
}
.pp-service-ic svg { width: 16px; height: 16px; }
.pp-service-body { position: relative; z-index: 1; min-width: 0; }
.pp-service h3 { font-size: 1.02rem; font-weight: 800; color: #1e293b; margin: 0 0 6px; }
.pp-service p { font-size: 0.88rem; color: #64748b; line-height: 1.55; margin: 0; }

/* -- COMPARISON TABLE -- */
.pp-table-wrap {
    max-width: 860px; margin: 0 auto;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0; border-radius: 20px; background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.pp-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.pp-table th, .pp-table td { padding: 16px 20px; text-align: center; font-size: 0.95rem; color: #475569; border-bottom: 1px solid #f1f5f9; }
.pp-table thead th { background: #f8fafc; color: #0f172a; font-weight: 800; font-size: 1rem; }
.pp-table tbody th { text-align: left; color: #1e293b; font-weight: 700; }
.pp-table tbody tr:last-child th, .pp-table tbody tr:last-child td { border-bottom: 0; }
.pp-table thead th:first-child { text-align: left; }
.pp-col-best { background: rgba(22,182,124,0.07); color: #0f172a; font-weight: 700; }
.pp-table thead th.pp-col-best { background: linear-gradient(135deg, #0b5edd, #16b67c); color: #fff; }
.pp-table thead th.pp-col-best span {
    display: block; font-size: 0.68rem; font-weight: 700; opacity: 0.9;
    text-transform: uppercase; letter-spacing: 0.6px;
}
.pp-tick { width: 20px; height: 20px; color: #16b67c; }

/* -- FAQ -- */
.pp-faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.pp-faq-left { position: sticky; top: 100px; }
.pp-faq-list { display: flex; flex-direction: column; gap: 14px; }
.pp-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.pp-faq-item.active { border-color: rgba(11,94,221,0.4); box-shadow: 0 8px 24px rgba(11,94,221,0.08); }
.pp-faq-question {
    width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; font-size: 1rem; font-weight: 700; color: #1e293b;
}
.pp-faq-icon {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #eef4ff; color: #0b5edd; font-size: 1.2rem; line-height: 1; transition: all 0.3s;
}
.pp-faq-item.active .pp-faq-icon { transform: rotate(45deg); background: linear-gradient(135deg, #0b5edd, #16b67c); color: #fff; }
.pp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 24px; }
.pp-faq-item.active .pp-faq-answer { max-height: 320px; }
.pp-faq-answer p { margin: 0 0 20px; color: #64748b; line-height: 1.7; font-size: 0.95rem; }

.pp-btn-primary {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, #0b5edd, #16b67c); color: #fff; text-decoration: none;
    padding: 14px 30px; border-radius: 50px; font-weight: 700;
    box-shadow: 0 10px 25px rgba(11,94,221,0.28); transition: transform 0.25s, box-shadow 0.25s;
}
.pp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11,94,221,0.38); color: #fff; }

/* -- CTA -- */
.pp-cta-section { padding: 20px 0 84px; background: #fff; }
.pp-cta-banner {
    text-align: center; background: linear-gradient(135deg, #0b5edd 0%, #16b67c 100%);
    border-radius: 32px; padding: 64px 32px;
}
.pp-cta-inner { max-width: 700px; margin: 0 auto; }
.pp-cta-inner h2 { font-size: 2.3rem; font-weight: 900; color: #fff; margin: 0 0 14px; }
.pp-cta-inner p { color: rgba(255,255,255,0.88); font-size: 1.05rem; line-height: 1.65; margin: 0 0 30px; }
.pp-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.pp-btn-light {
    background: #fff; color: #0b5edd; font-weight: 700; text-decoration: none;
    padding: 14px 32px; border-radius: 50px; transition: all 0.25s;
}
.pp-btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(0,0,0,0.18); color: #0b5edd; }
.pp-btn-outline {
    color: #fff; font-weight: 700; text-decoration: none;
    padding: 14px 32px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.7); transition: all 0.25s;
}
.pp-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* -- RESPONSIVE -- */
@media (max-width: 991px) {
    .pp-title { font-size: 2.4rem; }
    .pp-services { grid-template-columns: 1fr 1fr; }
    .pp-faq-layout { grid-template-columns: 1fr; gap: 36px; }
    .pp-faq-left { position: static; }
}
@media (max-width: 575px) {
    .pp-hero { padding: 28px 0 28px; }
    .pp-title { font-size: 1.95rem; }
    .pp-desc { font-size: 1rem; }
    .pp-plans { padding: 36px 0 56px; }
    .pp-section { padding: 60px 0; }
    .pp-section-title, .pp-cta-inner h2 { font-size: 1.7rem; }
    .pp-services { grid-template-columns: 1fr; }
    .pp-table th, .pp-table td { padding: 13px 14px; font-size: 0.88rem; }
    .pp-faq-question { padding: 16px 18px; }
    .pp-faq-answer { padding: 0 18px; }
    .pp-cta-banner { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .pp-hero-dots, .pp-blob, .pp-badge-dot { animation: none; }
}







