/* ============================================
   TVSPHERE — custom pages (FAQ / Pricing / Blog / Contact)
   Uses the site's own kit color: --e-global-color-c32c98c (#7432BD)
   ============================================ */

/* Defensive: some Elementor carousel widgets (movies / testimonials sliders)
   position slide tracks with transforms that can push past their own
   overflow:hidden container on narrow viewports and widen the page itself.
   This keeps the page from ever showing horizontal scroll, without touching
   the carousel markup or its own JS/CSS. */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.tvs-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px 90px;
}

.tvs-hero {
    background: linear-gradient(160deg, #F0E3FF 0%, #FBF7FF 55%, #ffffff 100%);
    padding: 90px 20px 60px;
    text-align: center;
}

.tvs-hero h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 44px;
    color: #1F0A36;
    margin: 0 0 16px;
    line-height: 1.2;
}

.tvs-hero p {
    font-family: "Lexend", sans-serif;
    font-size: 18px;
    color: #54595F;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.tvs-section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #1F0A36;
    text-align: center;
    margin: 0 0 14px;
}

.tvs-section-intro {
    font-family: "Lexend", sans-serif;
    font-size: 16px;
    color: #54595F;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ---- FAQ ---- */
.tvs-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.tvs-toc a {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #451D75;
    background: #F0E3FF;
    border: 1px solid #ECDCFF;
    border-radius: 999px;
    padding: 8px 18px;
    text-decoration: none;
    transition: all 250ms ease;
}

.tvs-toc a:hover {
    background: #7432BD;
    color: #ffffff;
    border-color: #7432BD;
}

.tvs-faq-category {
    margin-bottom: 48px;
    scroll-margin-top: 110px;
}

.tvs-faq-category h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1F0A36;
    border-bottom: 2px solid #ECDCFF;
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tvs-faq-category h2::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 22px;
    background: #7432BD;
    border-radius: 4px;
}

.tvs-faq-item {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(31,10,54,0.04);
}

.tvs-faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: "Lexend", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #250D3F;
}

.tvs-faq-question:hover {
    color: #7432BD;
}

.tvs-faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F0E3FF;
    color: #7432BD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: transform 250ms ease;
}

.tvs-faq-item.active {
    border-color: #7432BD;
}

.tvs-faq-item.active .tvs-faq-icon {
    background: #7432BD;
    color: #ffffff;
    transform: rotate(45deg);
}

.tvs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms ease;
}

.tvs-faq-item.active .tvs-faq-answer {
    max-height: 400px;
}

.tvs-faq-answer p {
    padding: 0 22px 20px;
    margin: 0;
    font-family: "Lexend", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #54595F;
}

/* ---- Pricing ---- */
.tvs-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.tvs-price-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(31,10,54,0.05);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.tvs-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(116,50,189,0.14);
}

.tvs-price-card.featured {
    border: 2px solid #7432BD;
    position: relative;
}

.tvs-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #7432BD;
    color: #fff;
    font-family: "Lexend", sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.tvs-price-card h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    color: #1F0A36;
    margin: 0 0 4px;
}

.tvs-price-card .tvs-price-sub {
    font-family: "Lexend", sans-serif;
    font-size: 13px;
    color: #93989E;
    margin-bottom: 18px;
}

.tvs-price-amount {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #7432BD;
    white-space: nowrap;
    margin-bottom: 20px;
}

.tvs-price-amount span {
    font-size: 18px;
    vertical-align: super;
}

.tvs-price-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
}

.tvs-price-features li {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    color: #54595F;
    padding: 7px 0 7px 26px;
    position: relative;
}

.tvs-price-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #93C64F;
    font-weight: 700;
}

.tvs-btn {
    display: inline-block;
    font-family: "Lexend", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    background: #7432BD;
    border-radius: 999px;
    padding: 13px 28px;
    text-decoration: none;
    transition: background 250ms ease;
    width: 100%;
    box-sizing: border-box;
}

.tvs-btn:hover {
    background: #6D3EB2;
    color: #fcf9f5;
}

/* ---- Comparison / included grid ---- */
.tvs-included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.tvs-included-item {
    background: #F9F5FF;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tvs-included-item .tvs-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #E9F5DA;
    color: #5B8A2C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tvs-included-item h4 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #1F0A36;
    margin: 0 0 4px;
}

.tvs-included-item p {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    color: #54595F;
    margin: 0;
    line-height: 1.6;
}

/* ---- Blog ---- */
.tvs-featured-article {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
    background: #F9F5FF;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    text-decoration: none;
    transition: box-shadow 250ms ease;
}

.tvs-featured-article:hover {
    box-shadow: 0 16px 40px rgba(116,50,189,0.12);
}

.tvs-featured-article img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.tvs-featured-article-body {
    padding: 20px 32px 20px 0;
}

.tvs-featured-article-body h2 {
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    color: #1F0A36;
    margin: 10px 0 12px;
    line-height: 1.3;
}

.tvs-featured-article-body p {
    font-family: "Lexend", sans-serif;
    font-size: 15px;
    color: #54595F;
    line-height: 1.7;
    margin-bottom: 16px;
}

.tvs-tag {
    display: inline-block;
    font-family: "Lexend", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7432BD;
    background: #ECDCFF;
    padding: 4px 12px;
    border-radius: 999px;
}

.tvs-read-more {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #7432BD;
}

.tvs-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tvs-blog-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.tvs-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(31,10,54,0.1);
}

.tvs-blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.tvs-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}

.tvs-blog-card:hover .tvs-blog-card-image img {
    transform: scale(1.06);
}

.tvs-blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tvs-blog-card-body h3 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    color: #1F0A36;
    margin: 10px 0 8px;
    line-height: 1.4;
}

.tvs-blog-card-body p {
    font-family: "Lexend", sans-serif;
    font-size: 13.5px;
    color: #54595F;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

.tvs-blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Lexend", sans-serif;
    font-size: 12.5px;
    color: #93989E;
    border-top: 1px solid #F0F0F0;
    padding-top: 12px;
}

/* ---- Article page ---- */
.tvs-article-hero {
    width: 100%;
    max-height: 380px;
    aspect-ratio: 16/7;
    object-fit: cover;
    border-radius: 0 0 28px 28px;
}

.tvs-article-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 50px 20px 20px;
}

.tvs-article-body h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #1F0A36;
    line-height: 1.25;
    margin: 16px 0 12px;
}

.tvs-article-meta {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    color: #93989E;
    margin-bottom: 30px;
}

.tvs-article-body h2 {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    color: #7432BD;
    margin: 34px 0 14px;
}

.tvs-article-body p {
    font-family: "Lexend", sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #33383D;
    margin-bottom: 18px;
}

.tvs-article-body a {
    color: #7432BD;
    font-weight: 600;
}

.tvs-related {
    max-width: 1140px;
    margin: 20px auto 0;
    padding: 40px 20px 0;
}

.tvs-related h2 {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    color: #1F0A36;
    margin-bottom: 22px;
}

.tvs-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tvs-related-card {
    display: block;
    text-decoration: none;
    background: #F9F5FF;
    border-radius: 14px;
    overflow: hidden;
}

.tvs-related-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.tvs-related-card-body {
    padding: 14px 16px;
}

.tvs-related-card-body h4 {
    font-family: "Poppins", sans-serif;
    font-size: 14.5px;
    color: #1F0A36;
    margin: 6px 0 0;
    line-height: 1.4;
}

/* ---- Contact ---- */
.tvs-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.tvs-contact-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(31,10,54,0.05);
}

.tvs-contact-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tvs-contact-card.whatsapp .tvs-contact-icon { background: rgba(37,211,102,0.12); }
.tvs-contact-card.email .tvs-contact-icon { background: #F0E3FF; }

.tvs-contact-card h2 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    color: #1F0A36;
    margin: 0 0 10px;
}

.tvs-contact-card p {
    font-family: "Lexend", sans-serif;
    font-size: 14.5px;
    color: #54595F;
    line-height: 1.7;
    margin-bottom: 22px;
}

.tvs-contact-card a.tvs-inline-link {
    color: #7432BD;
    font-weight: 600;
    text-decoration: none;
}

/* ---- Billing FAQ mini grid on pricing page ---- */
.tvs-mini-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .tvs-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .tvs-included-grid { grid-template-columns: repeat(2, 1fr); }
    .tvs-blog-grid, .tvs-related-grid { grid-template-columns: repeat(2, 1fr); }
    .tvs-featured-article { grid-template-columns: 1fr; }
    .tvs-featured-article img { min-height: 220px; }
    .tvs-featured-article-body { padding: 0 24px 24px; }
}

@media (max-width: 700px) {
    .tvs-hero h1 { font-size: 30px; }
    .tvs-pricing-grid,
    .tvs-included-grid,
    .tvs-blog-grid,
    .tvs-related-grid,
    .tvs-mini-faq-grid { grid-template-columns: 1fr; }
    .tvs-article-body h1 { font-size: 26px; }
}
