/* General Body Styles */
body {
    font-size: 14px;
    font-family: "Inter Tight", sans-serif;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

body.offcanvas-active {
    overflow: hidden;
}

/* Responsive Font Size */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* Header Styles */
.header-banner {
    font-family: "Inter Tight", sans-serif;
    width: 100%;
    background: #3256f8;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
}

.header-main {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    position: relative;
    z-index: 1001;
    background-color: white;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    max-height: 75px;
    width: auto;
    transition: none;
}

.header-main.scrolled .header-logo img {
    max-height: 55px;
}

.header-nav {
    display: flex;
    gap: 30px;
    font-size: 12px;
    font-weight: 600;
}

.header-nav .nav-item {
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-button {
    font-weight: 700;
    font-family: "Space Mono", monospace;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
}

.login-button:hover {
    transform: scale(1.05);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Hamburger Menu Styles */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
    /* Hidden on desktop */
}

/* Off-canvas Menu */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen */
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    z-index: 1001;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.show {
    right: 0;
    /* Slide in */
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.mobile-nav-item {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 1000;
}

.offcanvas-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Main Content & Other sections from before... */
.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    padding: 0 20px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-svg {
    width: 100%;
    max-width: 900px;
}

.hero-svg .heavy {
    font-family: "Russo One", sans-serif;
    font-size: 80px;
}

.hero-svg .light {
    font-family: "Arial", sans-serif;
    font-size: 40px;
}

.hero-description {
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    /* Allow buttons to wrap */
    justify-content: center;
}

.hero-button-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero-button-primary span {
    font-family: "Chakra Petch", sans-serif;
}

.hero-button-secondary {
    font-family: "Chakra Petch", sans-serif;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero-button-secondary .icon img {
    width: 20px;
}

.banner-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.banner-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.features-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background-image: url("https://res.cloudinary.com/dcz4e4tqn/image/upload/v1716886336/netproxy-web-design/h0t5zgjp4ajr8nmmgofz.png");
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 60px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.feature-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card-description {
    font-size: 16px;
    color: #6c757d;
}

.pricing-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.pricing-section .flash-sale {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.pricing-section .section-title {
    font-size: 36px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.pricing-section .section-subtitle {
    margin-top: 20px;
    color: #6c757d;
    max-width: 600px;
    text-align: center;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 270px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #007bff;
    margin-bottom: 40px;
}

.pricing-card.popular {
    position: relative;
}

.pricing-card .card-title {
    font-size: 20px;
    font-weight: bold;
}

.pricing-card .card-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    color: #6c757d;
    flex-grow: 1;
}

.pricing-card .features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: bold;
    color: #007bff;
    font-family: "Chakra Petch", sans-serif;
    align-self: center;
    margin-top: auto;
}

.popular-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    font-size: 14px;
}

.popular-badge svg {
    margin-right: 5px;
}

.case-studies-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 60px 20px;
}

.case-studies-section .section-tag {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.case-studies-section .section-title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.case-studies-section .section-subtitle {
    margin-top: 20px;
    color: #6c757d;
    max-width: 600px;
    text-align: center;
}

.case-studies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    max-width: 1000px;
}

.case-study-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 280px;
    background-color: white;
}

.case-study-item img {
    width: 40px;
    height: 40px;
}

.case-study-item span {
    font-weight: 500;
}

.why-choose-us-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.why-choose-us-section .section-title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.why-choose-us-section .section-subtitle {
    margin-top: 20px;
    color: #6c757d;
    max-width: 800px;
    text-align: center;
}

.why-choose-us-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
}

.why-choose-us-item {
    text-align: center;
    max-width: 300px;
}

.why-choose-us-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.why-choose-us-item-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.why-choose-us-item-description {
    font-size: 16px;
}

.faq-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 60px 20px;
}

.faq-section .section-tag {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.faq-section .section-title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.faq-container {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
}

.faq-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-item-question {
    display: flex;
    align-items: center;
}

.faq-item-question .num {
    font-weight: bold;
    margin-right: 15px;
}

.faq-button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 60px 20px;
    font-family: "Inter", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-about {
    padding-right: 20px;
}

.footer-about img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 14px;
}

.footer-downloads {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.footer-download-link {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
}

.footer-download-link img {
    width: 20px;
    height: 20px;
    margin: 0;
}

.footer-links {
    font-family: "Chakra Petch", sans-serif;
}

.footer-links h3 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
    color: #007bff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #6c757d;
    text-decoration: none;
}

/* Utility and Animation Classes */
.hover-underline {
    color: black;
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #0f0c0c, #0a2f68);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.hover-underline:hover::after {
    transform: scaleX(1);
}

.reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.hover-icon-button {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hover-icon-button .icon {
    max-width: 0;
    opacity: 0;
    transition: max-width 0.2s ease-out, opacity 0.1s ease-out;
    transform: translateX(0%);
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.hover-icon-button:hover .icon {
    max-width: 20px;
    opacity: 1;
    margin-left: 8px;
}

svg text {
    text-transform: uppercase;
    animation: stroke 5s alternate;
    stroke-width: 2;
    /* stroke: #0a5fe7; */
    font-size: 40px;
    fill: #095db6;
}

@keyframes stroke {
    0% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-dashoffset: 25%;
        stroke-dasharray: 0 50%;
        stroke-width: 2;
    }

    70% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
    }

    80% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-width: 3;
    }

    100% {
        fill: rgba(72, 138, 204, 1);
        stroke: rgba(6, 67, 167, 0);
        stroke-dashoffset: -25%;
        stroke-dasharray: 50% 0;
        stroke-width: 0;
    }
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {

    .header-nav,
    .header-actions {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .pricing-container,
    .case-studies-grid,
    .why-choose-us-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card,
    .case-study-item,
    .why-choose-us-item {
        width: 100%;
        max-width: 320px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center !important;
    }

    .footer-about {
        padding-right: 0;
    }

    .footer-downloads {
        align-items: center;
    }

    .hero-svg .heavy {
        font-size: 40px;
    }

    .hero-svg .light {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px !important;
    }
}

.faq {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 60px 0;
}

.faq-header-small {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.faq-header-large {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.faq-list {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
}

.faq-item {
    margin-bottom: 15px;
    flex-direction: column;
}

.faq-question {
    background-color: white;
    /* border-bottom: 1px solid #e0e0e0; */
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.faq-index {
    font-weight: bold;
    margin-right: 15px;
}

.faq-answer {
    display: none;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 0 20px 20px;
    width: 100%;
}

.toggle-icon {
    transition: transform 0.2s;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.faq-more-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-more-btn:hover {
    color: white;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px !important;
    width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.price-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.price-card.primary {
    border-top: 4px solid #007bff;
}

.price-card.success {
    border-top: 4px solid #28a745;
}

.price-card.info {
    border-top: 4px solid #ffc107;
    position: relative;
}

.price-card.danger {
    border-top: 4px solid #dc3545;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.primary:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 123, 255, 0.6), 0 0 30px rgba(0, 123, 255, 0.4);
}

.price-card.success:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(40, 167, 69, 0.6), 0 0 30px rgba(40, 167, 69, 0.4);
}

.price-card.info:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 193, 7, 0.6),
        /* glow vàng */
        0 0 30px rgba(255, 193, 7, 0.4);
}

.price-card.danger:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(220, 53, 69, 0.6), 0 0 30px rgba(220, 53, 69, 0.4);
}

.popular-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-slider {
    width: 100%;
    overflow: hidden;
}

.section-slider .slider-text {
    display: flex;
    white-space: nowrap;
    width: 200%;
    /* Double the width to accommodate the duplicated content */
    animation: slideText 40s linear infinite;
    /* Adjust animation duration */
    transform: translateX(0);
    /* Start at original position */
}

.section-slider .slider-text Typography {
    margin-right: 40px;
    /* Gap between sentences */
    white-space: nowrap;
    font-size: 40px;
}

@keyframes slideText {
    0% {
        transform: translateX(0);
        /* Start at original position */
    }

    100% {
        transform: translateX(-50%);
        /* Move 50% to the left */
    }
}

/*Hiệu ứng lắc icon*/
@keyframes wiggle {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

@keyframes ping-slow {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes ping-slower {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-wiggle {
    animation: wiggle 0.6s infinite;
}

.animate-ping-slow {
    animation: ping-slow 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-ping-slower {
    animation: ping-slower 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse-strong {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.animate-pulse-strong {
    animation: pulse-strong 1.2s ease-in-out 0s infinite normal none running;
}

@keyframes rotate-shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    40% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-6deg);
    }

    80% {
        transform: rotate(6deg);
    }
}

.animate-rotate-shake {
    animation: rotate-shake 1.2s ease-in-out infinite;
    transform-origin: center;
}

.login-form-button {
    transition: transform 0.2s ease-in-out;
}

.login-form-button:hover {
    transform: scale(1.02);
}

.form-check-input:checked {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

input:focus {
    border-color: #007bff !important;
}

.checkbox-wrapper-18 .round {
    position: relative;
}

.checkbox-wrapper-18 .round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    width: 20px;
    display: block;
}

.checkbox-wrapper-18 .round label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 5px;
    left: 5px;
    opacity: 0;
    position: absolute;
    top: 7px;
    transform: rotate(-45deg);
    width: 10px;
}

.checkbox-wrapper-18 .round input[type="checkbox"] {
    visibility: hidden;
    display: none;
    opacity: 0;
}

.checkbox-wrapper-18 .round input[type="checkbox"]:checked+label {
    background-color: #66bb6a;
    border-color: #66bb6a;
}

.checkbox-wrapper-18 .round input[type="checkbox"]:checked+label:after {
    opacity: 1;
}

.btn-primary {
    color: #007bff !important;
    background-color: transparent !important;
    border: 1px solid #007bff !important;
}

.btn-check:checked+.btn-primary {
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.btn-check:disabled+.btn-primary {
    pointer-events: none;
    color: #7885a0 !important;
    border-color: #7885a0 !important;
}

.checkbox-wrapper-30 .checkbox {
    --bg: #fff;
    --brdr: #007bff;
    --brdr-actv: #007bff;
    --brdr-hovr: #007bff;
    --dur: calc((var(--size, 2) / 2) * 0.6s);
    display: inline-block;
    width: calc(var(--size, 1) * 19px);
    position: relative;
}

.checkbox-wrapper-30 .checkbox:after {
    content: "";
    width: 100%;
    padding-top: 100%;
    display: block;
}

.checkbox-wrapper-30 .checkbox>* {
    position: absolute;
}

.checkbox-wrapper-30 .checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    background-color: var(--bg);
    border-radius: calc(var(--size, 1) * 4px);
    border: calc(var(--newBrdr, var(--size, 1)) * 1px) solid;
    color: #007bff;
    outline: none;
    margin: 0;
    padding: 0;
    transition: all calc(var(--dur) / 3) linear;
}

.checkbox-wrapper-30 .checkbox input:hover,
.checkbox-wrapper-30 .checkbox input:checked {
    --newBrdr: calc(var(--size, 1) * 2);
    color: #007bff;
}

.checkbox-wrapper-30 .checkbox input:hover {
    --newBrdrClr: #007bff;
    color: #007bff;
}

.checkbox-wrapper-30 .checkbox input:checked {
    --newBrdrClr: var(--brdr-actv);
    transition-delay: calc(var(--dur) / 1.3);
    color: #007bff;
}

.checkbox-wrapper-30 .checkbox input:checked+svg {
    --dashArray: 16 93;
    --dashOffset: 109;
    color: #007bff;
}

.checkbox-wrapper-30 .checkbox svg {
    fill: none;
    left: 0;
    pointer-events: none;
    stroke: #007bff;
    stroke-dasharray: var(--dashArray, 93);
    stroke-dashoffset: var(--dashOffset, 94);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    top: 0;
    transition: stroke-dasharray var(--dur), stroke-dashoffset var(--dur);
}

.checkbox-wrapper-30 .checkbox svg,
.checkbox-wrapper-30 .checkbox input {
    display: block;
    height: 100%;
    width: 100%;
    color: #007bff;
}

.brand-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 100px;
}

.brand-item img {
    height: 36px;
    width: auto;
    display: block;
}

.brand-name {
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}


/* Dropdown Menu Styles */
.dropdown-container {
    position: static;
}

.product-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    max-width: 100%;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(0);
}

.product-dropdown.show {
    display: block;
}

.dropdown-content {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dropdown-column {
    flex: 1;
}

.categories-column {
    flex-basis: 100px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.search-bar {
    position: relative;
    margin-bottom: 15px;
}

.search-bar .search-input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-bar .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: #aaa;
}

.categories-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item:hover,
.category-item.active {
    background-color: #f0f0f0;
}

.products-column {
    flex-basis: 700px;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.product-item img {
    width: 40px;
    height: 40px;
}

.product-item:hover {
    background-color: #f9f9f9;
}

.product-item h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.product-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.coming-soon-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #aaa;
    font-style: italic;
    font-size: 1rem;
}

.coming-soon-placeholder img {
    width: 150px;
    height: 180px;
    margin-bottom: 15px;
    opacity: 1;
}

.explore-all-item {
    padding: 10px 0;
}

.explore-all-btn {
    background-color: #007bff;
    color: white !important;
    padding: 12px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s;
    font-family: "Space Mono", monospace;
    text-align: center;
}

.explore-all-btn:hover {
    background-color: #0056b3;
    color: white;
}

.explore-all-btn i {
    margin-left: 8px;
    font-size: 11px;
}



/* Product List Styles */
.page-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.sidebar {
    flex: 0 0 280px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar ul li a:hover {
    background-color: #f0f2f5;
}

.sidebar ul li a.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.product-content-area {
    flex: 1;
}

.category-section {
    margin-bottom: 40px;
}

.category-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.product-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card-proxy {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 304px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-proxy:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-header-proxy {
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.product-header-proxy::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.product-title-proxy {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.product-subtitle-proxy {
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    margin-top: 5px;
}

.product-features-proxy {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.product-features-proxy li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

.product-features-proxy li span {
    color: #007bff;
    display: inline-flex;
}

.product-features-proxy li svg {
    width: 18px;
    height: 18px;
}

.product-price-proxy {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.buy-now-button-proxy {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.buy-now-button-proxy:hover {
    background: #0056b3;
    transform: scale(1.03);
    color: white;
}

/*---------------------*/
/* General Body Styles */
body {
    font-size: 14px;
    font-family: "Inter Tight", sans-serif;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

body.offcanvas-active {
    overflow: hidden;
}

/* Responsive Font Size */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* Header Styles */
.header-banner {
    font-family: "Inter Tight", sans-serif;
    width: 100%;
    background: #007bff;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
}

.header-main {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    position: relative;
    z-index: 1001;
    background-color: white;
    position: relative;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    max-height: 75px;
    width: auto;
    transition: none;
}

.header-main.scrolled .header-logo img {
    max-height: 55px;
}

.header-nav {
    display: flex;
    gap: 30px;
    font-size: 12px;
    font-weight: 600;
}

.header-nav .nav-item {
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-button {
    font-weight: 700;
    font-family: "Space Mono", monospace;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
}

.login-button:hover {
    transform: scale(1.05);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Hamburger Menu Styles */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
    /* Hidden on desktop */
}

/* Off-canvas Menu */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen */
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    z-index: 1001;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.show {
    right: 0;
    /* Slide in */
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.mobile-nav-item {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 1000;
}

.offcanvas-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Main Content & Other sections from before... */
.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    padding: 0 20px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-svg {
    width: 100%;
    max-width: 900px;
}

.hero-svg .heavy {
    font-family: "Russo One", sans-serif;
    font-size: 80px;
}

.hero-svg .light {
    font-family: "Arial", sans-serif;
    font-size: 40px;
}

.hero-description {
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    /* Allow buttons to wrap */
    justify-content: center;
}

.hero-button-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero-button-primary span {
    font-family: "Chakra Petch", sans-serif;
}

.hero-button-secondary {
    font-family: "Chakra Petch", sans-serif;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero-button-secondary .icon img {
    width: 20px;
}

.banner-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.banner-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

.features-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background-image: url("https://res.cloudinary.com/dcz4e4tqn/image/upload/v1716886336/netproxy-web-design/h0t5zgjp4ajr8nmmgofz.png");
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 60px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.feature-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card-description {
    font-size: 16px;
    color: #6c757d;
}

.pricing-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.pricing-section .flash-sale {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.pricing-section .section-title {
    font-size: 36px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.pricing-section .section-subtitle {
    margin-top: 20px;
    color: #6c757d;
    max-width: 600px;
    text-align: center;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 270px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #007bff;
    margin-bottom: 40px;
}

.pricing-card.popular {
    position: relative;
}

.pricing-card .card-title {
    font-size: 20px;
    font-weight: bold;
}

.pricing-card .card-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    color: #6c757d;
    flex-grow: 1;
}

.pricing-card .features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: bold;
    color: #007bff;
    font-family: "Chakra Petch", sans-serif;
    align-self: center;
    margin-top: auto;
}

.popular-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    font-size: 14px;
}

.popular-badge svg {
    margin-right: 5px;
}

.case-studies-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 60px 20px;
}

.case-studies-section .section-tag {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.case-studies-section .section-title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.case-studies-section .section-subtitle {
    margin-top: 20px;
    color: #6c757d;
    max-width: 600px;
    text-align: center;
}

.case-studies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    max-width: 1000px;
}

.case-study-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 280px;
    background-color: white;
}

.case-study-item img {
    width: 40px;
    height: 40px;
}

.case-study-item span {
    font-weight: 500;
}

.why-choose-us-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.why-choose-us-section .section-title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.why-choose-us-section .section-subtitle {
    margin-top: 20px;
    color: #6c757d;
    max-width: 800px;
    text-align: center;
}

.why-choose-us-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
}

.why-choose-us-item {
    text-align: center;
    max-width: 300px;
}

.why-choose-us-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.why-choose-us-item-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.why-choose-us-item-description {
    font-size: 16px;
}

.faq-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 60px 20px;
}

.faq-section .section-tag {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.faq-section .section-title {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.faq-container {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
}

.faq-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-item-question {
    display: flex;
    align-items: center;
}

.faq-item-question .num {
    font-weight: bold;
    margin-right: 15px;
}

.faq-button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 60px 20px;
    font-family: "Inter", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-about {
    padding-right: 20px;
}

.footer-about img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 14px;
}

.footer-downloads {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.footer-download-link {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
}

.footer-download-link img {
    width: 20px;
    height: 20px;
    margin: 0;
}

.footer-links {
    font-family: "Chakra Petch", sans-serif;
}

.footer-links h3 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
    color: #007bff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #6c757d;
    text-decoration: none;
}

/* Utility and Animation Classes */
.hover-underline {
    color: black !important;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.hover-underline::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #0f0c0c, #0a2f68);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.hover-underline:hover::after,
.hover-underline.underline-active::after {
    transform: scaleX(1);
}

.reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.hover-icon-button {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hover-icon-button .icon {
    max-width: 0;
    opacity: 0;
    transition: max-width 0.2s ease-out, opacity 0.1s ease-out;
    transform: translateX(0%);
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.hover-icon-button:hover .icon {
    max-width: 20px;
    opacity: 1;
    margin-left: 8px;
}

svg text {
    text-transform: uppercase;
    animation: stroke 5s alternate;
    stroke-width: 2;
    /* stroke: #0a5fe7; */
    font-size: 40px;
    fill: #095db6;
}

@keyframes stroke {
    0% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-dashoffset: 25%;
        stroke-dasharray: 0 50%;
        stroke-width: 2;
    }

    70% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
    }

    80% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-width: 3;
    }

    100% {
        fill: rgba(72, 138, 204, 1);
        stroke: rgba(6, 67, 167, 0);
        stroke-dashoffset: -25%;
        stroke-dasharray: 50% 0;
        stroke-width: 0;
    }
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {

    .header-nav,
    .header-actions {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .pricing-container,
    .case-studies-grid,
    .why-choose-us-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card,
    .case-study-item,
    .why-choose-us-item {
        width: 100%;
        max-width: 320px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        padding-right: 0;
    }

    .footer-downloads {
        align-items: center;
    }

    .hero-svg .heavy {
        font-size: 40px;
    }

    .hero-svg .light {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px !important;
    }
}

.faq {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 60px 0;
}

.faq-header-small {
    color: #007bff;
    font-size: 14px;
    font-weight: bold;
}

.faq-header-large {
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.faq-list {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
}

.faq-item {
    margin-bottom: 15px;
    flex-direction: column;
}

.faq-question {
    background-color: white;
    /* border-bottom: 1px solid #e0e0e0; */
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.faq-index {
    font-weight: bold;
    margin-right: 15px;
}

.faq-answer {
    display: none;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 0 20px 20px;
    width: 100%;
}

.toggle-icon {
    transition: transform 0.2s;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.faq-more-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-more-btn:hover {
    color: white;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.price-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 270px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.price-card.primary {
    border-top: 4px solid #007bff;
}

.price-card.success {
    border-top: 4px solid #28a745;
}

.price-card.info {
    border-top: 4px solid #ffc107;
    position: relative;
}

.price-card.danger {
    border-top: 4px solid #dc3545;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.primary:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 123, 255, 0.6), 0 0 30px rgba(0, 123, 255, 0.4);
}

.price-card.success:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(40, 167, 69, 0.6), 0 0 30px rgba(40, 167, 69, 0.4);
}

.price-card.info:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 193, 7, 0.6),
        /* glow vàng */
        0 0 30px rgba(255, 193, 7, 0.4);
}

.price-card.danger:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(220, 53, 69, 0.6), 0 0 30px rgba(220, 53, 69, 0.4);
}

.popular-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-slider {
    width: 100%;
    overflow: hidden;
}

.section-slider .slider-text {
    display: flex;
    white-space: nowrap;
    width: 200%;
    /* Double the width to accommodate the duplicated content */
    animation: slideText 40s linear infinite;
    /* Adjust animation duration */
    transform: translateX(0);
    /* Start at original position */
}

.section-slider .slider-text Typography {
    margin-right: 40px;
    /* Gap between sentences */
    white-space: nowrap;
    font-size: 40px;
}

@keyframes slideText {
    0% {
        transform: translateX(0);
        /* Start at original position */
    }

    100% {
        transform: translateX(-50%);
        /* Move 50% to the left */
    }
}

/* Dropdown Menu Styles */
.dropdown-container {
    position: static;
}

.product-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    max-width: 100%;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(0);
}

.product-dropdown.show {
    display: block;
}

.dropdown-content {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dropdown-column {
    flex: 1;
}

.categories-column {
    flex-basis: 100px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.search-bar {
    position: relative;
    margin-bottom: 15px;
}

.search-bar .search-input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-bar .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: #aaa;
}

.categories-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item:hover,
.category-item.active {
    background-color: #f0f0f0;
}

.products-column {
    flex-basis: 700px;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.product-item img {
    width: 40px;
    height: 40px;
}

.product-item:hover {
    background-color: #f9f9f9;
}

.product-item h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.product-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.coming-soon-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #aaa;
    font-style: italic;
    font-size: 1rem;
}

.coming-soon-placeholder img {
    width: 150px;
    height: 180px;
    margin-bottom: 15px;
    opacity: 1;
}

.explore-all-item {
    padding: 10px 0;
}

.explore-all-btn {
    background-color: #007bff;
    color: white !important;
    padding: 12px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s;
    font-family: "Space Mono", monospace;
    text-align: center;
}

.explore-all-btn:hover {
    background-color: #0056b3;
    color: white;
}

.explore-all-btn i {
    margin-left: 8px;
    font-size: 11px;
}

/* Product List Styles */
.page-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.sidebar {
    flex: 0 0 280px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar ul li a:hover {
    background-color: #f0f2f5;
}

.sidebar ul li a.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.product-content-area {
    flex: 1;
}

.category-section {
    margin-bottom: 40px;
}

.category-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.product-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card-proxy {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 304px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-proxy:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-header-proxy {
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.product-header-proxy::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.product-title-proxy {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.product-subtitle-proxy {
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    margin-top: 5px;
}

.product-features-proxy {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.product-features-proxy li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

.product-features-proxy li span {
    color: #007bff;
    display: inline-flex;
}

.product-features-proxy li svg {
    width: 18px;
    height: 18px;
}

.product-price-proxy {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.buy-now-button-proxy {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.buy-now-button-proxy:hover {
    background: #0056b3;
    transform: scale(1.03);
    color: white;
}

/* New Product Card Styles */
.product-card-new {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    text-align: left;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-icon-new {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.product-title-new {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.product-description-new {
    font-size: 16px;
    color: #666;
    flex-grow: 1;
    margin-bottom: 24px;
}

.try-now-button-new {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s;
}

.try-now-button-new:hover {
    background-color: #0056b3;
    color: white;
}

.try-now-button-new i {
    margin-left: 8px;
}

/* Product Detail Page */
.product-image-container {
    width: 100%;
    padding-top: 87.5%;
    /* 14 / 16 = 0.875 */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-container-main {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.product-image-container-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

:root {
    --pd-bg: #f8fafc;
    --pd-card: #fff;
    --pd-text: #0f172a;
    --pd-muted: #475569;
    --pd-line: #e2e8f0;
    --pd-brand: #0ea5e9;
    --pd-brand-2: #0284c7;
    --pd-radius: 16px;
    --pd-shadow: 0 10px 30px rgba(2, 8, 23, 0.05);
    --pd-w: 1200px;
}

.pd-container {
    max-width: var(--pd-w);
    margin: 0 auto;
    padding: 24px;
}

body.page-product {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--pd-text);
    background: linear-gradient(#fff, var(--pd-bg));
}

.pd-a {
    color: var(--pd-brand-2);
    text-decoration: none;
}

.pd-a:hover {
    text-decoration: underline;
}

.pd-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pd-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .pd-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .pd-grid-2 {
        grid-template-columns: 1.2fr 1fr;
    }
}

.pd-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--pd-line);
}

.pd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pd-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-brand img {
    height: 32px;
    width: auto;
}

.pd-nav .pd-a {
    font-size: 14px;
    margin-left: 14px;
}

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--pd-line);
    background: var(--pd-card);
    cursor: pointer;
    text-decoration: none;
    color: var(--pd-text);
    box-shadow: var(--pd-shadow);
}

.pd-btn.primary {
    background: var(--pd-brand);
    color: #fff;
    border-color: var(--pd-brand);
}

.pd-btn.primary:hover {
    background: var(--pd-brand-2);
}

.pd-hero {
    border-bottom: 1px solid var(--pd-line);
}

.pd-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #075985;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.pd-h1 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    margin: 8px 0 8px;
    font-weight: 800;
}

.pd-lead {
    color: var(--pd-muted);
    max-width: 60ch;
}

.pd-media {
    aspect-ratio: 16/9;
    width: 100%;
    background: #e2e8f0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px var(--pd-line);
}

.pd-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-card {
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow);
}

.pd-card .pd-head {
    padding: 18px 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-card .pd-body {
    padding: 16px 20px 20px;
    color: var(--pd-muted);
}

.pd-tabs {
    margin-top: 16px;
}

.pd-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.pd-tabs-nav label {
    text-align: center;
    padding: 10px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    background: var(--pd-card);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.pd-tabs input {
    display: none;
}

.pd-tab-panel {
    display: none;
    margin-top: 12px;
}

#pd-tab1:checked~.pd-tab1,
#pd-tab2:checked~.pd-tab2,
#pd-tab3:checked~.pd-tab3,
#pd-tab4:checked~.pd-tab4 {
    display: block;
}

.pd-price {
    font-size: 28px;
    font-weight: 800;
}

.pd-muted {
    color: var(--pd-muted);
}

.pd-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-list li {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    align-items: flex-end;
}

.pd-list li svg {
    flex: 0 0 auto;
    margin-top: 2px;
}

.pd-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-stars {
    letter-spacing: 2px;
}

.pd-details {
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: 12px 16px;
    background: var(--pd-card);
}

.pd-details+.pd-details {
    margin-top: 10px;
}

.pd-summary {
    cursor: pointer;
    font-weight: 600;
}

.pd-contact {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .pd-contact {
        grid-template-columns: 2fr 1fr;
    }
}

.pd-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    font: inherit;
}

.pd-footer {
    border-top: 1px solid var(--pd-line);
    background: #fff;
    font-size: 12px;
}

.pd-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pd-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 1;
    border-top: 1px solid var(--pd-line);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px;
    display: none;
}

@media (max-width: 767px) {
    .pd-sticky-cta {
        display: block;
    }
}

.pd-row {
    display: flex;
    gap: 10px;
}

.pd-grow {
    flex: 1;
}

.pd-icon {
    width: 20px;
    height: 20px;
}

.pd-icon.lg {
    width: 22px;
    height: 22px;
}

.pd-tabs-nav input[type="radio"] {
    display: none;
    /* Ẩn radio */
}

.pd-tabs-nav label {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
    color: #333;
    /* màu mặc định */
}

.pd-tabs-nav input[type="radio"]:checked+label {
    background-color: #007bff;
    /* xanh */
    color: white;
}

.pd-tabs-nav input[type="radio"] {
    display: none;
}

.pd-tabs-nav label {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    color: #333;
}

.pd-tabs-nav label.active {
    background: #007bff;
    color: #fff;
}

/* xanh khi chọn */

/* Lightbox */
.pd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.pd-lightbox.open {
    display: flex;
}

.pd-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pd-lightbox-btn {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.pd-lightbox-close {
    right: 20px;
}

.pd-lightbox-prev,
.pd-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.pd-lightbox-prev {
    left: 20px;
}

.pd-lightbox-next {
    right: 20px;
}

.pd-lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Con trỏ khi hover thumbnail */
#panel2 .pd-media img {
    cursor: zoom-in;
}

.strike {
    color: #8a8a8a;
    font-size: 12px;
    text-decoration: line-through;
}

.discount-badge {
    display: inline-block;
    background: #e11d48;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
}

.one-col {
    display: block !important;
}

.pd-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px;
}

.pd-card {
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.pd-body {
    padding: 16px;
}

.pd-h1 {
    font-size: 28px;
    margin: 0;
}

.pd-badge {
    display: inline-block;
    background: #0b74ff;
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.pd-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.seg {
    position: relative;
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 12px;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
}

.seg button {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.seg-indicator {
    position: absolute;
    inset: 4px auto 4px 4px;
    width: 0;
    border-radius: 8px;
    background: rgba(11, 116, 255, 0.12);
    border: 1px solid rgba(11, 116, 255, 0.4);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.seg button[aria-pressed="true"],
.seg button[aria-selected="true"] {
    color: #0b74ff;
}

.pd-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 18px;
}

.pd-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pd-plan {
    position: relative;
    border: 1px solid #e9edf5;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.pd-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.08);
}

.pd-plan[aria-checked="true"] {
    border-color: rgba(11, 116, 255, 0.55);
    box-shadow: 0 8px 30px rgba(11, 116, 255, 0.15);
}

.pd-divider {
    height: 1px;
    background: #e9edf5;
    margin: 10px 0;
}

.pd-price {
    font-size: 26px;
    font-weight: 800;
    color: #0b74ff;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #0b74ff;
    padding: 3px 8px;
    border-radius: 999px;
}

.ft-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e9edf5;
}

.ft-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft-chip {
    background: rgba(11, 116, 255, 0.08);
    color: #0b74ff;
    border: 1px solid rgba(11, 116, 255, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.pd-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 1px solid #e9edf5;
}

.pd-table thead th {
    position: sticky;
    top: 0;
    background: linear-gradient(#fff, #f9fbff);
    border-bottom: 1px solid #e9edf5;
    font-size: 13px;
    padding: 10px 12px;
    text-align: right;
    z-index: 1;
}

.pd-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e9edf5;
    font-family: "Inter", sans-serif;
}

.pd-table tr:nth-child(even) td {
    background: rgba(2, 6, 23, 0.02);
}

.t-right {
    text-align: right;
}

.pd-plan input[type="radio"] {
    display: none !important;
}

/* Card chỉ để xem: không click, không đổi trạng thái */
.pd-plan {
    pointer-events: none;
    cursor: default;
}

/* Bỏ hiệu ứng “đang chọn” (nếu trước đó có viền xanh theo aria-checked) */
.pd-plan[aria-checked="true"],
.pd-plan[aria-checked="false"] {
    border-color: #e9edf5;
    /* màu viền mặc định của bạn */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    /* bóng mặc định */
}

/* (tuỳ chọn) giảm hiệu ứng hover cho đỡ hiểu nhầm có thể click */
.pd-plan:hover {
    transform: none;
}

/* Cho phép hover, nhưng không phải nút bấm */
.pd-plan {
    pointer-events: auto;
    cursor: default;
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Chỉ combo 1/2/3 phóng nhẹ khi hover */
.pd-plan[data-term="personal"]:hover,
.pd-plan[data-term="combo1"]:hover,
.pd-plan[data-term="combo2"]:hover,
.pd-plan[data-term="combo3"]:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
    border-color: rgba(11, 116, 255, 0.35);
    cursor: pointer;
}

/* Nếu bạn đã từng chặn hover trước đó, xoá dòng sau hoặc để dòng dưới override */
.pd-plan.nohover:hover {
    transform: none !important;
    box-shadow: inherit !important;
}

/* Tôn trọng người dùng hạn chế chuyển động */
@media (prefers-reduced-motion: reduce) {
    .pd-plan {
        transition: none;
    }

    .pd-plan:hover {
        transform: none;
    }
}

/* Header: title | price  -> căn giữa theo trục dọc */
.plan-head {
    display: grid;
    /* hoặc flex đều được */
    grid-template-columns: 1fr auto;
    /* title co giãn | price cố định */
    align-items: center;
    /* <-- căn giữa theo chiều dọc */
    gap: 12px;
    margin-bottom: 20px;
}

/* Giá: giữ main price nằm giữa; strike đưa lên góc phải */
.plan-price {
    position: relative;
    display: flex;
    align-items: center;
    /* <-- căn giữa main price theo chiều dọc */
}

.plan-price .pd-price {
    line-height: 1;
}

/* Đưa giá gạch lên trên, không ảnh hưởng căn giữa */
.plan-price .strike {
    position: absolute;
    top: -8px;
    /* chỉnh cho đẹp */
    right: 0;
    font-size: 12px;
    white-space: nowrap;
}

/* Nếu bạn đang dùng badge overlay bên trái, giữ phần chừa chỗ cho title */
.plan-title {
    font-size: 20px;
}

/* chỉnh số này theo kích thước badge */
@media (max-width: 560px) {
    .plan-title {
        margin-left: 0;
    }
}

.plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Chỉ áp dụng cho bảng chức năng */
#ft-table-functions th:first-child,
#ft-table-functions td:first-child {
    text-align: left !important;
    padding-left: 16px;
    /* tuỳ chọn: đệm trái cho đẹp */
}

/* Các cột còn lại giữ nguyên căn phải (nếu bạn đang dùng .t-right thì không cần dòng dưới) */
#ft-table-functions th:not(:first-child),
#ft-table-functions td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    /* số thẳng hàng */
}

/* Thanh chọn kênh */
.seg {
    position: relative;
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 14px;
    padding: 2px;
    /* ↓ giảm padding để không hở viền */
    display: inline-flex;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
}

.seg button {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    padding: 8px 14px;
    /* nội dung thoáng nhưng không đẩy indicator */
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.seg button[aria-selected="true"] {
    color: #0b74ff;
}

/* Nền xanh của tab đang chọn – ôm sát nút, không hở */
.seg-indicator {
    position: absolute;
    top: 2px;
    /* ↓ ôm sát mép trong */
    bottom: 2px;
    left: 2px;
    width: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(11, 116, 255, 0.14), rgba(11, 116, 255, 0.1));
    box-shadow: inset 0 0 0 1px rgba(11, 116, 255, 0.45);
    transition: left 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), width 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.plan-off {
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1;
    color: #e11d48;
    /* đỏ nổi bật, đổi nếu muốn */
}

/* Ẩn khối giá ở 3 combo (chỉ còn hiện % giảm) */
.pd-plan[data-term="combo1"] .plan-price,
.pd-plan[data-term="combo2"] .plan-price,
.pd-plan[data-term="combo3"] .plan-price {
    display: none !important;
}

.pd-actions {
    padding: 10px 2px;
}

.btn-perks {
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: #0b74ff;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(11, 116, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-perks:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(11, 116, 255, 0.35);
}

/* Modal */
.pd-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1002;
}

.pd-modal.show {
    display: block;
}

.pd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.18s ease;
}

.pd-modal-dialog {
    position: relative;
    margin: 20vh auto;
    max-width: 640px;
    width: calc(100% - 32px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.25);
    overflow: hidden;
    animation: slideUp 0.22s ease;
}

.pd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e9edf5;
}

.pd-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.pd-modal-close {
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 8px;
}

.pd-modal-body {
    padding: 14px 16px;
}

.pd-list {
    margin: 0;
    padding-left: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(8px);
        opacity: 0.9;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

/* ===== Grid ===== */
.plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

/* ===== Card ===== */
.pd-plan {
    --accent: #0b74ff;
    /* mặc định, đổi theo data-term phía dưới */
    position: relative;
    border: 1px solid #e9edf5;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fafcff);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pd-plan::before {
    /* thanh nhấn mảnh phía trên */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
    background: var(--accent);
}

.pd-plan:hover {
    transform: translateY(-2px);
    border-color: color-mix(in oklab, var(--accent) 35%, #e9edf5);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

/* màu nhấn riêng từng gói */
.pd-plan[data-term="personal"] {
    --accent: #0b74ff;
}

.pd-plan[data-term="combo1"] {
    --accent: #d7eb25;
}

.pd-plan[data-term="combo2"] {
    --accent: #7c3aed;
}

.pd-plan[data-term="combo3"] {
    --accent: #0ea5e9;
}

/* ===== Header ===== */
.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-kicker {
    font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #6b7280;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 3px 8px;
}

.plan-title {
    font: 800 20px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #111827;
    letter-spacing: 0.2px;
    margin: 0;
}

/* badge giảm giá (từ JS sẽ set text) */
.plan-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: #e11d48;
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.25);
}

/* Divider */
.pd-divider {
    height: 1px;
    border: 0;
    margin: 12px 0;
    background: #eef2f7;
}

/* ===== CTA ===== */
.pd-actions {
    display: flex;
}

.btn-perks {
    font: 800 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 10px 24px color-mix(in oklab, var(--accent) 35%, transparent);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-perks::after {
    content: "➜";
    margin-left: 8px;
    transition: transform 0.18s ease;
}

.btn-perks:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px color-mix(in oklab, var(--accent) 45%, transparent);
}

.btn-perks:hover::after {
    transform: translateX(2px);
}

/* ============ GRID ============ */
.plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1100px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

/* ============ CARD ============ */
.pd-plan {
    /* màu nhấn theo gói */
    --accent: #0b74ff;
    /* default (personal) */
    --glow: rgba(11, 116, 255, 0.25);
    position: relative;
    border-radius: 20px;
    padding: 16px 16px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) padding-box, linear-gradient(120deg, var(--accent), transparent 60%) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06), 0 0 0 1px rgba(2, 6, 23, 0.02) inset;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pd-plan::after {
    /* nền pattern nhẹ */
    content: "";
    position: absolute;
    inset: -30% -10% auto auto;
    height: 160px;
    width: 260px;
    background: radial-gradient(20px 20px at 30% 40%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%), radial-gradient(16px 16px at 70% 70%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%);
    opacity: 0.25;
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
}

.pd-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12), 0 0 0 1px var(--glow) inset;
}

/* đổi màu theo gói */
.pd-plan[data-term="personal"] {
    --accent: #0b74ff;
    --glow: rgba(11, 116, 255, 0.3);
}

.pd-plan[data-term="combo1"] {
    --accent: #e714b9;
    --glow: rgba(37, 99, 235, 0.3);
}

.pd-plan[data-term="combo2"] {
    --accent: #7c3aed;
    --glow: rgba(124, 58, 237, 0.3);
}

.pd-plan[data-term="combo3"] {
    --accent: #0ea5e9;
    --glow: rgba(14, 165, 233, 0.3);
}

/* ============ BADGES ============ */
.plan-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font: 700 11px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
}

.plan-ribbon.hot {
    color: #fff;
    background: #f97316;
    border-color: #fb923c;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.plan-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font: 800 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #fff;
    background: #e11d48;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
    white-space: nowrap;
}

/* ============ HEADER ============ */
.plan-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-top: 43px;
    /* chừa chỗ cho 2 badge */
}

.plan-title {
    margin: 0;
    font: 800 22px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.plan-dot {
    /* chấm màu nhỏ làm nhịp */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}

/* divider */
.pd-plan .pd-divider {
    height: 1px;
    border: 0;
    margin: 12px 0 10px;
    background: #eef2f7;
}

/* ============ CTA ============ */
.plan-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn-perks {
    font: 800 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #fff;
    background: linear-gradient(90deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 60%, #111) 100%);
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    cursor: pointer;
    box-shadow: 0 12px 26px var(--glow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-perks::after {
    content: "➜";
    margin-left: 8px;
    transition: transform 0.18s ease;
}

.btn-perks:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px var(--glow);
}

.btn-perks:hover::after {
    transform: translateX(2px);
}

.btn-perks:focus-visible {
    outline: 3px solid color-mix(in oklab, var(--accent) 45%, #fff);
    outline-offset: 2px;
}

input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0;
    height: 0;
    margin: 0;
}

/* Nếu còn radio của tab cũ */
.pd-tabs-nav input[type="radio"] {
    display: none !important;
}

/* 2) Chấm tròn trang trí trong card đang nhìn như radio -> ẩn */
.plan-dot {
    display: none !important;
}

.pd-plan {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    background: #fff;
}

.pd-plan[aria-checked="true"] {
    border-color: #6366f1;
    background: linear-gradient(0deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.05)), #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.plan-head .plan-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
}

.pd-plan[aria-checked="true"] .plan-dot {
    background: #6366f1;
}

.pd-plan:focus-visible {
    outline: 3px solid #6366f1;
    outline-offset: 2px;
    border-radius: 16px;
}

.pd-table .price-wrap {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: baseline;
    white-space: nowrap;
}

.pd-table .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 11px;
}

.pd-table .new-price {
    font-weight: 500;
    font-size: 13px;
}

.pd-table td .fn-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pd-table td .fn-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fn-tag {
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

/* (giữ phần price-wrap/old-price/new-price nếu bạn đã thêm trước đó) */
.pd-table .price-wrap {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: baseline;
    white-space: nowrap;
}

.pd-table .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 12px;
}

.pd-table .new-price {
    font-weight: 700;
}

/* ===== Channel details: look & layout ===== */
.pd-details-panel[hidden] {
    display: none;
}

.pd-details-panel .pd-card {
    background: linear-gradient(180deg, #fff, #fafafb);
    border-radius: 20px;
}

.pd-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pd-detail-head h2 {
    margin: 0;
}

.pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pd-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    font-size: 12px;
    color: #374151;
}

.pd-grid-2g {
    display: block;
}

@media (min-width: 980px) {
    .pd-grid-2g {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 16px;
    }
}

.pd-section {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 0 rgba(20, 20, 20, 0.02);
}

.pd-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.pd-section .pd-sub {
    color: #6b7280;
    font-size: 13px;
    margin: -4px 0 6px;
}

.pd-list.check li {
    position: relative;
    padding-left: 22px;
    margin: 6px 0;
}

.pd-list.check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #2563eb;
}

.pd-list.check li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 8px;
    border-right: 2px solid #2563eb;
    border-bottom: 2px solid #2563eb;
    transform: rotate(45deg);
}

.pd-list.tight li {
    margin: 4px 0;
}

.pd-divider {
    height: 1px;
    background: #eceff3;
    margin: 10px 0;
    border-radius: 8px;
}

@media (min-width: 980px) {

    /* list 2 cột cho nội dung dài */
    .two-col {
        columns: 2;
        column-gap: 24px;
    }

    .two-col li {
        break-inside: avoid;
    }
}

.pd-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-aside .pd-aside-card {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    padding: 12px;
}

.pd-aside h4 {
    margin: 0 0 6px;
    font-size: 16px;
}

.pd-aside .pd-list {
    font-size: 14px;
}

.pd-cta-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.pd-btn.subtle {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
}

@media (min-width: 980px) {
    #channel-details .pd-grid-2g {
        display: block !important;
    }
}



.partners-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-header {
    text-align: center;
}

.partners-title {
    font-size: 38px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.partners-subtitle {
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.partner-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    position: relative;
}

.logo-text {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 8px;
    color: #666;
    margin-top: 2px;
    text-align: center;
}

/* Specific logo styles */
.logo-placeholder.genlogin {
    background-color: #4285f4;
    border-color: #4285f4;
}

.logo-placeholder.genlogin .logo-text {
    color: white;
    font-size: 12px;
}

.logo-placeholder.bitbrowser {
    background-color: #1e40af;
    border-color: #1e40af;
}

.logo-placeholder.bitbrowser .logo-text {
    color: white;
    font-size: 11px;
}

.logo-placeholder.shopsocks {
    background-color: #22c55e;
    border-color: #22c55e;
}

.logo-placeholder.shopsocks .logo-text {
    color: white;
    font-size: 10px;
}

.logo-placeholder.bigads {
    background-color: #06b6d4;
    border-color: #06b6d4;
}

.logo-placeholder.bigads .logo-text {
    color: white;
    font-size: 12px;
}

.logo-placeholder.gemlogin {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.logo-placeholder.gemlogin .logo-text {
    color: white;
    font-size: 11px;
}

.logo-placeholder.omocaptcha {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.logo-placeholder.omocaptcha .logo-text {
    color: white;
    font-size: 10px;
}

.logo-placeholder.farmreel {
    background-color: #22c55e;
    border-color: #22c55e;
}

.logo-placeholder.farmreel .logo-text {
    color: white;
    font-size: 24px;
}

.logo-placeholder.genfarmer {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.logo-placeholder.genfarmer .logo-text {
    color: white;
    font-size: 20px;
}

.logo-placeholder.smit {
    background-color: #10b981;
    border-color: #10b981;
}

.logo-placeholder.smit .logo-text {
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.partner-name {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.partner-button {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.partner-button:hover {
    background-color: #007bff;
    color: white;
    transform: scale(1.05);
}

.partner-button::after {
    content: "→";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.partner-button:hover::after {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .partners-title {
        font-size: 40px;
    }

    .partners-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 40px 15px;
    }

    .partners-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .partners-subtitle {
        font-size: 15px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-card {
        padding: 20px 15px;
        width: 100%;
    }

    .partner-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .logo-text {
        font-size: 12px;
    }

    .partner-name {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .partner-button {
        padding: 8px 16px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .partners-title {
        font-size: 28px;
    }

    .partners-subtitle {
        font-size: 14px;
    }

    .partner-card {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Header: title | price  -> căn giữa theo trục dọc */
.plan-head {
    display: grid;
    /* hoặc flex đều được */
    grid-template-columns: 1fr auto;
    /* title co giãn | price cố định */
    align-items: center;
    /* <-- căn giữa theo chiều dọc */
    gap: 12px;
    margin-bottom: 20px;
}

/* Giá: giữ main price nằm giữa; strike đưa lên góc phải */
.plan-price {
    position: relative;
    display: flex;
    align-items: center;
    /* <-- căn giữa main price theo chiều dọc */
}

.plan-price .pd-price {
    line-height: 1;
}

/* Đưa giá gạch lên trên, không ảnh hưởng căn giữa */
.plan-price .strike {
    position: absolute;
    top: -8px;
    /* chỉnh cho đẹp */
    right: 0;
    font-size: 12px;
    white-space: nowrap;
}

/* Nếu bạn đang dùng badge overlay bên trái, giữ phần chừa chỗ cho title */
.plan-title {
    font-size: 20px;
}

/* chỉnh số này theo kích thước badge */
@media (max-width: 560px) {
    .plan-title {
        margin-left: 0;
    }
}

.plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Chỉ áp dụng cho bảng chức năng */
#ft-table-functions th:first-child,
#ft-table-functions td:first-child {
    text-align: left !important;
    padding-left: 16px;
    /* tuỳ chọn: đệm trái cho đẹp */
}

/* Các cột còn lại giữ nguyên căn phải (nếu bạn đang dùng .t-right thì không cần dòng dưới) */
#ft-table-functions th:not(:first-child),
#ft-table-functions td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    /* số thẳng hàng */
}

/* Thanh chọn kênh */
.seg {
    position: relative;
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 14px;
    padding: 2px;
    /* ↓ giảm padding để không hở viền */
    display: inline-flex;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
}

.seg button {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    padding: 8px 14px;
    /* nội dung thoáng nhưng không đẩy indicator */
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.seg button[aria-selected="true"] {
    color: #0b74ff;
}

/* Nền xanh của tab đang chọn – ôm sát nút, không hở */
.seg-indicator {
    position: absolute;
    top: 2px;
    /* ↓ ôm sát mép trong */
    bottom: 2px;
    left: 2px;
    width: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(11, 116, 255, 0.14), rgba(11, 116, 255, 0.1));
    box-shadow: inset 0 0 0 1px rgba(11, 116, 255, 0.45);
    transition: left 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), width 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.plan-off {
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1;
    color: #e11d48;
    /* đỏ nổi bật, đổi nếu muốn */
}

/* Ẩn khối giá ở 3 combo (chỉ còn hiện % giảm) */
.pd-plan[data-term="combo1"] .plan-price,
.pd-plan[data-term="combo2"] .plan-price,
.pd-plan[data-term="combo3"] .plan-price {
    display: none !important;
}

.pd-actions {
    padding: 10px 2px;
}

.btn-perks {
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: #0b74ff;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(11, 116, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-perks:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(11, 116, 255, 0.35);
}

/* Modal */
.pd-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1002;
}

.pd-modal.show {
    display: block;
}

.pd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.18s ease;
}

.pd-modal-dialog {
    position: relative;
    margin: 20vh auto;
    max-width: 640px;
    width: calc(100% - 32px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.25);
    overflow: hidden;
    animation: slideUp 0.22s ease;
}

.pd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e9edf5;
}

.pd-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.pd-modal-close {
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 8px;
}

.pd-modal-body {
    padding: 14px 16px;
}

.pd-list {
    margin: 0;
    padding-left: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(8px);
        opacity: 0.9;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

/* ===== Grid ===== */
.plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

/* ===== Card ===== */
.pd-plan {
    --accent: #0b74ff;
    /* mặc định, đổi theo data-term phía dưới */
    position: relative;
    border: 1px solid #e9edf5;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fafcff);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pd-plan::before {
    /* thanh nhấn mảnh phía trên */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
    background: var(--accent);
}

.pd-plan:hover {
    transform: translateY(-2px);
    border-color: color-mix(in oklab, var(--accent) 35%, #e9edf5);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

/* màu nhấn riêng từng gói */
.pd-plan[data-term="personal"] {
    --accent: #0b74ff;
}

.pd-plan[data-term="combo1"] {
    --accent: #d7eb25;
}

.pd-plan[data-term="combo2"] {
    --accent: #7c3aed;
}

.pd-plan[data-term="combo3"] {
    --accent: #0ea5e9;
}

/* ===== Header ===== */
.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-kicker {
    font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #6b7280;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 3px 8px;
}

.plan-title {
    font: 800 20px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #111827;
    letter-spacing: 0.2px;
    margin: 0;
}

/* badge giảm giá (từ JS sẽ set text) */
.plan-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: #e11d48;
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.25);
}

/* Divider */
.pd-divider {
    height: 1px;
    border: 0;
    margin: 12px 0;
    background: #eef2f7;
}

/* ===== CTA ===== */
.pd-actions {
    display: flex;
}

.btn-perks {
    font: 800 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 10px 24px color-mix(in oklab, var(--accent) 35%, transparent);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-perks::after {
    content: "➜";
    margin-left: 8px;
    transition: transform 0.18s ease;
}

.btn-perks:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px color-mix(in oklab, var(--accent) 45%, transparent);
}

.btn-perks:hover::after {
    transform: translateX(2px);
}

/* ============ GRID ============ */
.plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1100px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

/* ============ CARD ============ */
.pd-plan {
    /* màu nhấn theo gói */
    --accent: #0b74ff;
    /* default (personal) */
    --glow: rgba(11, 116, 255, 0.25);
    position: relative;
    border-radius: 20px;
    padding: 16px 16px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) padding-box, linear-gradient(120deg, var(--accent), transparent 60%) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06), 0 0 0 1px rgba(2, 6, 23, 0.02) inset;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pd-plan::after {
    /* nền pattern nhẹ */
    content: "";
    position: absolute;
    inset: -30% -10% auto auto;
    height: 160px;
    width: 260px;
    background: radial-gradient(20px 20px at 30% 40%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%), radial-gradient(16px 16px at 70% 70%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%);
    opacity: 0.25;
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
}

.pd-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12), 0 0 0 1px var(--glow) inset;
}

/* đổi màu theo gói */
.pd-plan[data-term="personal"] {
    --accent: #0b74ff;
    --glow: rgba(11, 116, 255, 0.3);
}

.pd-plan[data-term="combo1"] {
    --accent: #e714b9;
    --glow: rgba(37, 99, 235, 0.3);
}

.pd-plan[data-term="combo2"] {
    --accent: #7c3aed;
    --glow: rgba(124, 58, 237, 0.3);
}

.pd-plan[data-term="combo3"] {
    --accent: #0ea5e9;
    --glow: rgba(14, 165, 233, 0.3);
}

/* ============ BADGES ============ */
.plan-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font: 700 11px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
}

.plan-ribbon.hot {
    color: #fff;
    background: #f97316;
    border-color: #fb923c;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.plan-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font: 800 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #fff;
    background: #e11d48;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
    white-space: nowrap;
}

/* ============ HEADER ============ */
.plan-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-top: 43px;
    /* chừa chỗ cho 2 badge */
}

.plan-title {
    margin: 0;
    font: 800 22px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.plan-dot {
    /* chấm màu nhỏ làm nhịp */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}

/* divider */
.pd-plan .pd-divider {
    height: 1px;
    border: 0;
    margin: 12px 0 10px;
    background: #eef2f7;
}

/* ============ CTA ============ */
.plan-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn-perks {
    font: 800 14px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #fff;
    background: linear-gradient(90deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 60%, #111) 100%);
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    cursor: pointer;
    box-shadow: 0 12px 26px var(--glow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-perks::after {
    content: "➜";
    margin-left: 8px;
    transition: transform 0.18s ease;
}

.btn-perks:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px var(--glow);
}

.btn-perks:hover::after {
    transform: translateX(2px);
}

.btn-perks:focus-visible {
    outline: 3px solid color-mix(in oklab, var(--accent) 45%, #fff);
    outline-offset: 2px;
}

input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0;
    height: 0;
    margin: 0;
}

/* Nếu còn radio của tab cũ */
.pd-tabs-nav input[type="radio"] {
    display: none !important;
}

/* 2) Chấm tròn trang trí trong card đang nhìn như radio -> ẩn */
.plan-dot {
    display: none !important;
}

.pd-plan {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    background: #fff;
}

.pd-plan[aria-checked="true"] {
    border-color: #6366f1;
    background: linear-gradient(0deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.05)), #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.plan-head .plan-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
}

.pd-plan[aria-checked="true"] .plan-dot {
    background: #6366f1;
}

.pd-plan:focus-visible {
    outline: 3px solid #6366f1;
    outline-offset: 2px;
    border-radius: 16px;
}

.pd-table .price-wrap {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: baseline;
    white-space: nowrap;
}

.pd-table .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 11px;
}

.pd-table .new-price {
    font-weight: 500;
    font-size: 13px;
}

.pd-table td .fn-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pd-table td .fn-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fn-tag {
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

/* (giữ phần price-wrap/old-price/new-price nếu bạn đã thêm trước đó) */
.pd-table .price-wrap {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: baseline;
    white-space: nowrap;
}

.pd-table .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 12px;
}

.pd-table .new-price {
    font-weight: 700;
}

/* ===== Channel details: look & layout ===== */
.pd-details-panel[hidden] {
    display: none;
}

.pd-details-panel .pd-card {
    background: linear-gradient(180deg, #fff, #fafafb);
    border-radius: 20px;
}

.pd-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pd-detail-head h2 {
    margin: 0;
}

.pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pd-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    font-size: 12px;
    color: #374151;
}

.pd-grid-2g {
    display: block;
}

@media (min-width: 980px) {
    .pd-grid-2g {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 16px;
    }
}

.pd-section {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 0 rgba(20, 20, 20, 0.02);
}

.pd-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.pd-section .pd-sub {
    color: #6b7280;
    font-size: 13px;
    margin: -4px 0 6px;
}

.pd-list.check li {
    position: relative;
    padding-left: 22px;
    margin: 6px 0;
}

.pd-list.check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #2563eb;
}

.pd-list.check li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 8px;
    border-right: 2px solid #2563eb;
    border-bottom: 2px solid #2563eb;
    transform: rotate(45deg);
}

.pd-list.tight li {
    margin: 4px 0;
}

.pd-divider {
    height: 1px;
    background: #eceff3;
    margin: 10px 0;
    border-radius: 8px;
}

@media (min-width: 980px) {

    /* list 2 cột cho nội dung dài */
    .two-col {
        columns: 2;
        column-gap: 24px;
    }

    .two-col li {
        break-inside: avoid;
    }
}

.pd-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-aside .pd-aside-card {
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    padding: 12px;
}

.pd-aside h4 {
    margin: 0 0 6px;
    font-size: 16px;
}

.pd-aside .pd-list {
    font-size: 14px;
}

.pd-cta-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.pd-btn.subtle {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
}

@media (min-width: 980px) {
    #channel-details .pd-grid-2g {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .plans {
        grid-template-columns: 1fr;
    }

    .pd-toolbar {
        gap: 8px;
    }

    .seg {
        width: 100%;
        overflow: auto;
    }

    .pd-card {
        border-radius: 14px;
    }

    .pd-plan {
        padding: 12px;
    }

    .plan-title {
        font-size: 15px;
    }

    .btn-perks {
        font-size: 12.5px;
    }

    /* tinh gọn bảng trên mobile */
    .pd-table {
        min-width: 640px;
    }

    .ft-card header {
        padding: 12px 12px 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .pd-plan {
        will-change: transform;
    }
}

.ft-card header {
    padding: 14px 14px 0;
}

.ft-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ft-chip {
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}

.pd-body {
    overflow-x: auto;
}

/* scroll ngang trên mobile */
.pd-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
}

.pd-table th,
.pd-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.pd-table th {
    font: 700 12px/1.1 "Inter", system-ui;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pd-table td {
    font: 500 13px/1.3 "Inter", system-ui;
    color: #111827;
}

.pd-table .t-right {
    text-align: right;
}

.fn-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fn-tag {
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
}

.old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.new-price {
    font-weight: 700;
}

/* ===== Hero responsive ===== */
.pd-hero {
    padding: clamp(24px, 3vw, 48px) 0;
}

.pd-hero .pd-container.pd-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2.5vw, 32px);
    align-items: center;
}

@media (min-width: 768px) {
    .pd-hero .pd-container.pd-grid-2 {
        grid-template-columns: 1.05fr 0.95fr;
        /* text : media */
        gap: clamp(24px, 3vw, 48px);
    }
}

@media (min-width: 1200px) {
    .pd-hero .pd-container.pd-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Typography co giãn mượt */
.pd-hero .pd-h1 {
    line-height: 1.2;
    font-size: clamp(22px, 2.2vw + 1rem, 40px);
}

.pd-hero .pd-lead {
    margin: 0 0 12px 0;
    font-size: clamp(14px, 0.7vw + 0.9rem, 18px);
    max-width: 65ch;
}

/* Badge & meta */
.pd-hero .pd-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.6;
}

.pd-hero .pd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 12px;
}

.pd-hero .pd-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

/* Ảnh hero: không méo, bo góc, full-width, giữ tỉ lệ */
.pd-hero .pd-media img {
    width: 100%;
    height: auto !important;
    /* override inline height:100% */
    border-radius: 20px;
    display: block;
    object-fit: cover;
    /* phòng khi bạn set chiều cao cố định cho container */
}

/* Tùy chọn: căn giữa nội dung text trên mobile */
/*
@media (max-width: 767px) {
  .pd-hero .pd-container.pd-grid-2 > div:first-child {
    text-align: left;  // đổi thành center nếu muốn
  }
}
*/
.pd-tabs-nav {
    overflow-x: auto;
    /* trượt ngang khi chật */
    padding: 6px;
    /* chừa khoảng cách với viền bo */
}

.pd-tabs-nav label {
    margin: 0;
    /* tránh âm/margin làm tràn */
    box-shadow: none;
}

.pd-tabs-nav label:focus-visible {
    outline-offset: 2px;
    /* vòng focus nằm trong card, không bị cắt xấu */
}

/* Responsive Styles for Product Page */
@media (max-width: 991.98px) {
    .page-container {
        flex-direction: column;
    }

    .sidebar {
        flex: 0 0 auto;
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .product-list-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .product-list-container {
        grid-template-columns: 1fr;
    }

    .product-card-new {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .page-container {
        padding: 10px;
    }

    .sidebar {
        padding: 15px;
    }

    .category-section h2 {
        font-size: 20px;
    }

    .product-card-new {
        padding: 16px;
    }

    .product-title-new {
        font-size: 20px;
    }

    .product-description-new {
        font-size: 14px;
    }
}

/* ===== Partners: 1 hàng 3 mục (desktop) ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 3 mục/1 hàng */
    gap: 18px;
    /* khoảng cách giữa các card */
    margin-top: 28px;
}

/* Tablet: 2 cột */
@media (max-width: 991.98px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: 1 cột */
@media (max-width: 575.98px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Card hiện đại & cân chiều cao (giữ nguyên class hiện có) */
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px;
    min-height: 190px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(2, 6, 23, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(2, 6, 23, 0.12);
    border-color: #c7d2fe;
    /* viền xanh nhạt khi hover */
}

.partner-logo {
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 10px;
}

.partner-logo img {
    object-fit: contain;
}

.partner-name {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    margin: 10px 0 10px;
    color: #0f172a;
}

/* Đặt nút ở đáy card để mọi card đều đều chiều cao */

/* Trạng thái ẩn của banner khi có class .banner-hidden */
.header-banner.banner-hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: translateY(-100%);
}

/* Trạng thái mặc định của header */
.header-main {
    background-color: #ffffff;
    transition: none;
}

/* Trạng thái của header khi đã cuộn trang */
.header-main.scrolled {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    color: #333333;
}

/* Đổi màu chữ nav*/
.nav-color {
    color: #253858 !important;
}

.scrolled .hover-underline::after {
    background: #0052cc;
}

/* Grid container: 2 columns desktop, 1 column mobile */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* IMPORTANT: prevents grid items stretching to same height */
    align-items: start;
}

/* mỗi card độc lập, không bị kéo dài theo hàng */
.faq-card {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-self: start;
    /* đảm bảo mỗi item bắt đầu tại top, không stretch */
}

/* header clickable */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* title style */
.faq-title {
    font-weight: 500;
    font-size: 14px;
}

/* icon rotation */
.toggle-icon {
    transition: transform 0.2s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

/* body hidden by default */
.faq-body {
    display: none;
    /* slideToggle sẽ thay đổi */
    margin-top: 12px;
    padding-bottom: 14px;
}

/* points list inside body */
.faq-points-small {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 700;
}

.faq-points-small li {
    display: flex;
    gap: 10px;
    align-items: center;
    box-sizing: border-box;
    min-width: 120px;
    width: 100%;
}

/* responsive: 1 column on small screens */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-points li {
        width: 100%;
    }
}

.faq-points {
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 700;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    /* hàng xột / cột xột */
    align-items: start;
}

/* style cho mỗi item */
.faq-points li {
    display: flex;
    gap: 10px;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    /* tránh overflow khi text dài */
    width: 100%;
}

/* responsive: 1 cột trên màn hình nhỏ */
@media (max-width: 768px) {
    .faq-points {
        grid-template-columns: 1fr;
        gap: 8px 12px;
    }
}

.faq-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
    transform-origin: center top;
    will-change: transform, box-shadow;
}

/* Hover chỉ áp dụng khi card chưa mở (không có .is-open) */
.faq-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08),
        /* nhẹ, bluish */
        0 6px 18px rgba(37, 99, 235, 0.06);
}

.no-click:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Khi card mở thì giữ trạng thái bình thường (không scale) — bạn có thể style khác nếu muốn */
.pd-btn {
    transition: transform 180ms ease, box-shadow 180ms ease;
    transform-origin: center top;
    will-change: transform, box-shadow;
}

.pd-btn:hover {
    transform: translate(-3px) scale(1.01);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08),
        /* nhẹ, bluish */
        0 6px 18px rgba(37, 99, 235, 0.06);
}