.appstore {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0px;

}

.text-black {
    color: black;
}

.evalution-section {
    background-color: #ecf3fc;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 70px;
    padding-bottom: 70px;
}

.div-item-value {
    border-radius: 8px;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 15px;
}

.p-item-des {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

[class*="col-"] {
    margin-bottom: 30px;
}

.content {
    height: 100%;
    padding: 20px 20px 10px;
}

.video-content {
    max-width: 960px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.footer-clean {
    background-color: #132e4c;
}

.title-tech {
    font-size: 16px;
    font-style: normal;
    text-align: justify;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0;
    color: #005cc8;
}

.carousel-control-prev {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 30%;
    margin: auto;
}

.carousel-control-next {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    margin: auto;
}

/* =============================================
   iPhone 16 Pro Max Mockup
   ============================================= */

.iphone-wrapper {
    position: relative;
    width: 280px;
    filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.35)) drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

/* ---- Main body ---- */
.iphone-body {
    position: relative;
    width: 280px;
    height: 588px; /* Correct 19.5:9 aspect ratio taking 8px inset into account */
    background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 50%, #2c2c2e 100%);
    border-radius: 52px;
    border: 2px solid rgba(255,255,255,0.12);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.4),
        inset 1px 0 0 rgba(255,255,255,0.08),
        inset -1px 0 0 rgba(0,0,0,0.3);
}

/* ---- Screen area ---- */
.iphone-screen {
    position: absolute;
    inset: 8px;
    border-radius: 44px;
    background: #000;
    overflow: hidden;
}



/* ---- Carousel inside screen: fill full height ---- */
.iphone-screen .carousel,
.iphone-screen .carousel-inner,
.iphone-screen .carousel-item {
    height: 100%;
    border-radius: 0;
}

.iphone-screen .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Override Bootstrap indicators position */
.iphone-indicators {
    bottom: 20px !important;
    z-index: 30;
}

.iphone-indicators [data-bs-target] {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.6) !important;
    border: none !important;
    opacity: 1 !important;
    transition: transform 0.3s, background-color 0.3s;
}

.iphone-indicators .active {
    background-color: #fff !important;
    transform: scale(1.3);
}

/* ---- Home indicator bar ---- */
.iphone-home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
    z-index: 30;
}

/* =============================================
   Physical side buttons
   ============================================= */

/* Mute / Action button (top-left) */
.iphone-btn-mute {
    position: absolute;
    left: -6px;
    top: 108px;
    width: 4px;
    height: 36px;
    background: linear-gradient(to right, #2a2a2c, #3a3a3c);
    border-radius: 2px 0 0 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* Volume Up */
.iphone-btn-vol-up {
    position: absolute;
    left: -6px;
    top: 162px;
    width: 4px;
    height: 64px;
    background: linear-gradient(to right, #2a2a2c, #3a3a3c);
    border-radius: 2px 0 0 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* Volume Down */
.iphone-btn-vol-down {
    position: absolute;
    left: -6px;
    top: 240px;
    width: 4px;
    height: 64px;
    background: linear-gradient(to right, #2a2a2c, #3a3a3c);
    border-radius: 2px 0 0 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* Power / Sleep button (right) */
.iphone-btn-power {
    position: absolute;
    right: -6px;
    top: 188px;
    width: 4px;
    height: 80px;
    background: linear-gradient(to left, #2a2a2c, #3a3a3c);
    border-radius: 0 2px 2px 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* Footer luôn dính sát đáy trang, kể cả khi nội dung ngắn */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > * {
    flex-shrink: 0;
}

.footer-clean {
    margin-top: auto;
    padding-bottom: 8px;
}

.footer-clean footer {
    margin-top: 0 !important;
}

.footer-mail {
    color: #fff;
    text-decoration: none;
}

.footer-mail:hover {
    color: #fff;
    text-decoration: underline;
}

.policy_content a {
    color: #005cc8;
}

/* Responsive giống trang chủ P2C */
.brand-logo {
    height: 48px;
    width: auto;
}

.navbar .nav-link {
    font-weight: 500;
    transition: color .2s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #005cc8 !important;
}

.mission-item svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.appstore img {
    display: block;
    height: 40px;
    width: auto;
}

.carousel-item img {
    border-radius: 8px;
}

.policy_content h6 {
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 991.98px) {
    .row.mt-5 > .col-lg-7 {
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        height: 40px;
    }

    .evalution-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    h1.fs-2 {
        font-size: 1.5rem !important;
    }
}

/* Nút chuyển ngôn ngữ VI / EN */
.lang-switch {
    display: inline-flex;
    flex-shrink: 0;
    border: 1px solid #005cc8;
    border-radius: 20px;
    overflow: hidden;
}

.lang-switch button {
    border: 0;
    background: transparent;
    color: #005cc8;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 4px 10px;
    transition: background-color .2s, color .2s;
}

.lang-switch button:hover {
    background: #ecf3fc;
}

.lang-switch button.active {
    background: #005cc8;
    color: #fff;
}

/* =============================================
   P2C Speak
   ============================================= */

/* Logo: biểu tượng p2c + tên sản phẩm, cùng kiểu với logo các app P2C khác */
.speak-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.speak-logo img {
    height: 48px;
    width: auto;
}

.speak-logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1e4fae;
    line-height: 1;
}

.speak-logo-name {
    font-size: 27px;
}

.speak-logo-tag {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
}

.speak-logo-footer img {
    height: 45px;
}

.speak-logo-footer .speak-logo-text {
    color: #fff;
}

@media (max-width: 575.98px) {
    .speak-logo img {
        height: 40px;
    }

    .speak-logo-name {
        font-size: 23px;
    }
}

.arrow-icon,
.star-icon {
    flex-shrink: 0;
    color: #005cc8;
}

.hero-note {
    font-size: 13px;
    color: #6c757d;
}

.speak-section {
    padding-top: 70px;
    padding-bottom: 40px;
}

/* Lộ trình 20 phút */
.step-card {
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #e3ebf6;
    border-top: 4px solid #005cc8;
    box-shadow: 0 2px 10px rgba(19, 46, 76, .06);
}

.step-time {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: #ecf3fc;
    color: #005cc8;
    font-size: 12px;
    font-weight: 600;
}

.step-title {
    font-weight: 700;
    color: #132e4c;
}

/* Khám phá các màn hình */
.screen-tabs {
    gap: 12px;
}

.screen-tab {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
    padding: 16px;
    text-align: left;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.screen-tab:hover {
    border-color: #c9dbf3;
}

.screen-tab.active {
    border-color: #005cc8;
    box-shadow: 0 6px 18px rgba(0, 92, 200, .12);
}

.screen-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ecf3fc;
    color: #005cc8;
    font-weight: 700;
}

.screen-tab.active .screen-num {
    background-color: #005cc8;
    color: #fff;
}

.screen-title {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: #132e4c;
}

.screen-tab .p-item-des {
    margin: 0;
    color: #495057;
}

.screen-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* So sánh Band 5.5 / 8.5+ */
.nav-pills .nav-link {
    color: #005cc8;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background-color: #005cc8;
}

.cmp-question {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    color: #132e4c;
    margin-bottom: 24px;
}

.cmp-card {
    border-radius: 8px;
    border: 1px solid #e3ebf6;
    background-color: #f8f9fa;
}

.cmp-card.cmp-good {
    border: 2px solid #005cc8;
    background-color: #fff;
}

.cmp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #132e4c;
}

.band {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.band-low {
    background-color: #e9ecef;
    color: #6c757d;
}

.band-high {
    background-color: #005cc8;
    color: #fff;
}

.cmp-answer {
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
}

.cmp-answer strong {
    color: #005cc8;
}

.cmp-note {
    margin-bottom: 0;
    font-size: 13px;
    color: #6c757d;
}

/* Tải ứng dụng */
.download-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    border-radius: 8px;
    background-color: #fff;
}

.download-text {
    flex: 1 1 320px;
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
}

.download-qr img {
    padding: 8px;
    border: 1px solid #e3ebf6;
    border-radius: 8px;
    background-color: #fff;
}

@media (max-width: 991.98px) {
    .screen-tabs {
        margin-bottom: 10px;
    }
}

.policy-meta {
    margin-bottom: 4px;
    font-size: 14px;
    color: #6c757d;
}

.policy_content ul {
    padding-left: 1.2rem;
}

.policy_content li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.policy_content a {
    word-break: break-word;
}

/* Mục được mở bằng link #section-5 không bị thanh menu che */
.policy_content[id] {
    scroll-margin-top: 90px;
}
