/* ==========================================================================
   FPT TELECOM OFFICIAL PIXEL-PERFECT STYLESHEET (MATCHING HTTPS://FPT.VN/VI)
   Bản quyền thiết kế: Cổng thông tin chính thức FPT Telecom 2026
   ========================================================================== */

:root {
    /* Brand Color Palette */
    --fpt-blue: #0054A6;
    --fpt-blue-dark: #004385;
    --fpt-navy: #002244;
    --fpt-royal-blue: #2563EB;
    --fpt-btn-blue: #2563EB;
    --fpt-btn-blue-hover: #1D4ED8;
    --fpt-topbar-bg: #162E5B;
    --fpt-orange: #FF6600;
    --fpt-orange-bright: #FF7A00;
    --fpt-orange-deep: #F37021;
    --fpt-orange-hover: #E65C00;
    --fpt-green: #00A859;
    --fpt-red: #EF4444;

    /* Neutrals & Surfaces */
    --text-dark: #0F172A;
    --text-body: #334155;
    --text-gray: #64748B;
    --text-muted: #94A3B8;
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --border-card: #E2E8F0;
    --border-subtle: #CBD5E1;

    /* Spacing Scale (8pt Grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Radius Scale */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Elevation & Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px rgba(0, 34, 68, 0.06);
    --shadow-hover: 0 12px 28px rgba(0, 84, 166, 0.14);
    --shadow-lg: 0 20px 45px rgba(0, 27, 58, 0.18);
    --shadow-orange: 0 4px 14px rgba(255, 102, 0, 0.35);

    /* Transitions */
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.35s ease;
}

/* ==========================================================================
   CSS RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-body);
    background: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Global Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

a {
    color: var(--fpt-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--fpt-orange);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

/* Accessibility Skip Link & Focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--fpt-orange);
    color: #FFFFFF !important;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    z-index: 99999;
    box-shadow: var(--shadow-lg);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 20px;
}

:focus-visible {
    outline: 2px solid var(--fpt-royal-blue);
    outline-offset: 2px;
}

.screen-reader-text, .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-fpt-orange { color: var(--fpt-orange) !important; }
.text-fpt-blue { color: var(--fpt-blue) !important; }

/* Section Heading Standardization */
.section-heading-ftel {
    margin-bottom: var(--space-8);
}

.ftel-badge-tag {
    display: inline-block;
    background: #EBF4FC;
    color: var(--fpt-blue);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-2);
}

.ftel-badge-orange {
    background: rgba(243, 112, 33, 0.15);
    color: #FFB37C;
}

.ftel-title {
    font-size: clamp(1.35rem, 2.5vw, 1.875rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: var(--space-2);
}

.ftel-subtitle {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    color: var(--text-gray);
    max-width: 720px;
    margin: 0 auto;
}

.heading-light .ftel-title-light {
    color: #FFFFFF;
}

.heading-light .ftel-subtitle-light {
    color: #CBD5E1;
}

/* ==========================================================================
   1. TOPBAR & MAIN HEADER
   ========================================================================== */
.header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-topbar {
    background: var(--fpt-topbar-bg);
    color: #CFE2FE;
    font-size: 0.82rem;
    padding: 6px 0;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.topbar-link {
    color: #CBD5E1;
    font-weight: 600;
    font-size: 0.82rem;
}

.topbar-link.active, .topbar-link:hover {
    color: #FFFFFF;
    font-weight: 700;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #E2E8F0;
    cursor: pointer;
    font-size: 0.82rem;
    position: relative;
    user-select: none;
}

.topbar-icon-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.topbar-item a { color: #E2E8F0; }

.dropdown-arrow-icon {
    font-size: 0.7rem;
    color: #94A3B8;
}

.location-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 180px;
    z-index: 3000;
    border: 1px solid var(--border-card);
    margin-top: 6px;
}

.loc-item {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.loc-item:hover, .loc-item.active {
    background: #EBF4FC;
    color: var(--fpt-blue);
}

/* Main Navigation Bar */
.menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

/* Site Branding Logo */
.site-branding, .fpt-official-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding a, .fpt-official-brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fpt-logo-img, .custom-logo, .ftel-logo-svg {
    height: 38px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
    display: block;
    aspect-ratio: auto;
}

/* Hamburger Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 10;
}

.menu-toggle:hover {
    background: #F1F5F9;
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--fpt-blue);
    border-radius: 2px;
    margin: 4px auto;
    transition: var(--transition);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link-lv-1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: var(--transition);
    line-height: 1.4;
    vertical-align: middle;
}

.nav-link-lv-1 .nav-text {
    display: inline-block;
    vertical-align: middle;
}

.nav-link-lv-1:hover {
    color: var(--fpt-blue);
    background: #F8FAFC;
}

.dropdown-icon-svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    color: #64748B;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
}

.nav-item:hover .dropdown-icon-svg,
.has-dropdown:hover .dropdown-icon-svg {
    transform: rotate(180deg);
    color: var(--fpt-blue);
}

.dropdown-icon {
    display: none !important;
}

/* Mega Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    padding: 24px;
    min-width: 820px;
    display: none;
    z-index: 2500;
    animation: fadeInDropdown 0.2s ease;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid #EBF4FC;
}

.category-header img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.category-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--fpt-blue);
}

.category-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-links a {
    font-size: 0.84rem;
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.category-links a:hover {
    color: var(--fpt-orange);
    transform: translateX(3px);
}

.badge-new {
    background: var(--fpt-red);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    margin-left: 4px;
}

/* Header Right Actions */
.menu-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.header-hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: var(--fpt-blue);
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: #EBF4FC;
}

.header-hotline-btn:hover {
    background: #DBEAFE;
    color: var(--fpt-blue-dark);
}

.btn-fpt-orange {
    background: var(--fpt-orange-bright);
    color: #FFFFFF !important;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-fpt-orange:hover {
    background: var(--fpt-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.45);
}

.btn-fpt-orange:active {
    transform: translateY(0);
}

.btn-fpt-blue {
    background: var(--fpt-royal-blue);
    color: #FFFFFF !important;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-fpt-blue:hover {
    background: var(--fpt-btn-blue-hover);
    transform: translateY(-1px);
}

.btn-fpt-outline {
    background: transparent;
    color: var(--fpt-blue) !important;
    border: 1.5px solid var(--fpt-blue);
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-fpt-outline:hover {
    background: #EBF4FC;
}

/* Mobile Location Bar */
.mobile-location-bar {
    display: none;
    background: #EBF4FC;
    padding: 8px 16px;
    border-top: 1px solid #DBEAFE;
}

.mobile-location-bar .location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-dark);
    cursor: pointer;
}

.location-change-tag {
    background: var(--fpt-blue);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   2. MOBILE & TABLET NAVIGATION DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 27, 58, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 9999;
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-card);
}

.drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #64748B;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.drawer-close-btn:hover {
    background: #F1F5F9;
    color: var(--text-dark);
}

.drawer-location-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F8FAFC;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-card);
    cursor: pointer;
}

.drawer-location-box .loc-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.drawer-location-box .loc-btn-switch {
    font-size: 0.75rem;
    color: var(--fpt-blue);
    font-weight: 700;
    text-decoration: underline;
}

.drawer-nav {
    flex-grow: 1;
    padding: 16px 0;
}

.drawer-menu-list {
    list-style: none;
}

.drawer-link, .drawer-submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-link:hover, .drawer-submenu-toggle:hover {
    background: #EBF4FC;
    color: var(--fpt-blue);
}

.drawer-toggle-arrow {
    font-size: 0.8rem;
    color: #94A3B8;
    transition: transform 0.2s ease;
}

.drawer-menu-item.active .drawer-toggle-arrow {
    transform: rotate(180deg);
}

.drawer-submenu {
    list-style: none;
    background: #F8FAFC;
    padding: 6px 0;
    display: none;
}

.drawer-menu-item.active .drawer-submenu {
    display: block;
}

.drawer-submenu a {
    padding: 9px 20px 9px 44px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
    display: block;
}

.drawer-submenu a:hover {
    color: var(--fpt-orange);
    background: #F1F5F9;
}

.drawer-footer-actions {
    padding: 20px;
    border-top: 1px solid var(--border-card);
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-drawer-cta {
    width: 100%;
    padding: 12px;
}

.drawer-hotline-link {
    font-size: 0.85rem;
    color: var(--text-dark);
    text-align: center;
}

/* ==========================================================================
   3. HERO BANNER CAROUSEL SLIDER (SWIPER 11 CHUYÊN NGHIỆP)
   ========================================================================== */
.banner-hero-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0F172A;
}

.hero-carousel-viewport.hero-swiper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    aspect-ratio: 1920 / 717;
    overflow: hidden;
}

.hero-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-swiper-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hero-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.hero-banner-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Prev / Next Arrows Swiper Custom */
.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.25s ease;
    opacity: 0.9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.banner-hero-carousel-section:hover .hero-carousel-arrow {
    opacity: 1;
}

.hero-carousel-arrow:hover {
    opacity: 1;
    background: #FFFFFF;
    color: #FF6600;
    border-color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.hero-prev-btn { left: 24px; }
.hero-next-btn { right: 24px; }

@media (max-width: 768px) {
    .hero-carousel-arrow {
        width: 36px;
        height: 36px;
        opacity: 0.95;
    }
    .hero-prev-btn { left: 10px; }
    .hero-next-btn { right: 10px; }
}

/* Dots Pagination Swiper Custom */
.hero-carousel-dots.swiper-pagination-custom {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 30;
    width: auto !important;
}

.hero-carousel-dots .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.hero-carousel-dots .swiper-pagination-bullet-active {
    background: #FFFFFF;
    width: 26px;
    border-radius: 999px;
}

/* ==========================================================================
   4. QUICK ACTION CARDS
   ========================================================================== */
.section-quick-epl {
    padding: 24px 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-card);
}

.quick-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quick-action-card {
    background: #F8FAFC;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-action-card:hover {
    border-color: var(--fpt-royal-blue);
    background: #EBF4FC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.qa-icon-square {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qa-icon-square img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.qa-content {
    display: flex;
    flex-direction: column;
}

.qa-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
}

.qa-sub {
    font-size: 0.82rem;
    color: var(--text-gray);
}

/* ==========================================================================
   5. PRODUCT & COMBO CAROUSEL SECTION
   ========================================================================== */
.section-combo-slider, .section-location-products {
    padding: 48px 0;
    position: relative;
    overflow-x: clip;
}

.pkg-carousel-wrapper {
    position: relative;
    width: 100%;
}

.pkg-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 4px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pkg-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Round Navigation Arrows */
.pkg-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.pkg-prev-btn { left: -14px; }
.pkg-next-btn { right: -14px; }

.pkg-nav-btn:hover {
    background: var(--fpt-royal-blue);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 768px) {
    .pkg-nav-btn {
        display: none;
    }
}

/* Product Card Structure */
.loc-product-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 270px;
    scroll-snap-align: start;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.loc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--fpt-royal-blue);
}

.loc-card-real-img-holder {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #EBF4FC;
    position: relative;
}

.package-card-top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.loc-product-card:hover .package-card-top-img {
    transform: scale(1.04);
}

.loc-card-info {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.loc-plan-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.loc-plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.loc-price-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--fpt-royal-blue);
}

.loc-price-unit {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

.info-circle {
    color: #94A3B8;
    cursor: help;
    font-size: 0.85rem;
    margin-left: 2px;
}

.speed-gauge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8FAFC;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.speed-meta .label {
    display: block;
    font-size: 0.68rem;
    color: #64748B;
}

.speed-meta .values {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1E293B;
}

.combo-check-list {
    list-style: none;
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-green {
    color: var(--fpt-green);
    font-weight: 900;
    margin-right: 4px;
}

.card-dual-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.btn-loc-buy {
    background: var(--fpt-btn-blue);
    color: #FFF !important;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-loc-buy:hover {
    background: var(--fpt-btn-blue-hover);
}

.btn-loc-detail {
    background: #F8FAFC;
    color: var(--fpt-royal-blue) !important;
    border: 1px solid var(--border-card);
    padding: 9px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-loc-detail:hover {
    background: #EBF4FC;
    border-color: #BFDBFE;
}

/* Tabs for Products by Location */
.link-location-picker {
    color: var(--fpt-blue);
    text-decoration: underline;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ftel-pill-tabs-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ftel-pill-tab {
    background: #FFFFFF;
    border: 1.5px solid var(--border-card);
    padding: 9px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748B;
    cursor: pointer;
    transition: var(--transition);
}

.ftel-pill-tab.active {
    border-color: var(--fpt-royal-blue);
    color: var(--fpt-royal-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    background: #F8FAFC;
}

.tab-package-panel {
    display: none;
}

.tab-package-panel.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   6. PORTRAIT CATEGORY CARDS
   ========================================================================== */
.section-portrait-categories {
    padding: 48px 0;
    background: #FFFFFF;
}

.portrait-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.portrait-card-item {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.portrait-card-item:hover {
    transform: translateY(-6px);
}

.category-card-full-img {
    width: 100%;
    height: auto;
    aspect-ratio: 212 / 348;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portrait-card-item:hover .category-card-full-img {
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   7. FPT PLAY SHOWCASE & TECH DEVICES
   ========================================================================== */
.section-fptplay-showcase, .section-tech-devices {
    padding: 48px 0;
}

.showcase-fptplay-layout, .tech-devices-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.showcase-side-banner, .tech-side-banner-box {
    width: 318px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.side-banner-full-img, .camera-side-full-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.btn-promo-cam-reg {
    position: relative;
    z-index: 2;
    width: 100%;
    background: var(--fpt-orange);
    color: #FFF !important;
    border: none;
    padding: 12px;
    border-radius: var(--radius-pill);
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
    text-align: center;
}

.btn-promo-cam-reg:hover {
    background: var(--fpt-orange-hover);
    transform: translateY(-1px);
}

.showcase-cards-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.showcase-product-card, .device-product-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.device-product-card {
    flex: 1;
    min-width: 0;
}

.showcase-product-card:hover, .device-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--fpt-royal-blue);
}

.sc-card-img-holder, .dev-card-img-holder {
    width: 100%;
    height: 180px;
    background: #F8FAFC;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.sc-card-img, .dev-camera-photo {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.showcase-product-card:hover .sc-card-img,
.device-product-card:hover .dev-camera-photo {
    transform: scale(1.06);
}

.sc-card-body, .dev-card-footer {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sc-plan-title, .dev-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.sc-price-row, .dev-price-blue {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--fpt-blue);
    margin-bottom: 10px;
}

.sc-perks-list {
    list-style: none;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.btn-sc-buy, .btn-dev-buy {
    width: 100%;
    background: var(--fpt-btn-blue);
    color: #FFF !important;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin-top: auto;
}

.btn-sc-buy:hover, .btn-dev-buy:hover {
    background: var(--fpt-btn-blue-hover);
}

.view-all-center-row {
    text-align: center;
    margin-top: 24px;
}

.ftel-link-arrow {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--fpt-blue);
}

/* ==========================================================================
   8. PLAN CALCULATOR SECTION (#calculator)
   ========================================================================== */
.fpt-calculator-section {
    background: var(--fpt-navy);
    color: #FFFFFF;
    padding: 60px 0;
    position: relative;
}

.calc-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    margin-top: var(--space-6);
}

.calc-options-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(10px);
}

.calc-group {
    margin-bottom: 24px;
}

.calc-group:last-child {
    margin-bottom: 0;
}

.calc-group-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1rem;
    color: #E2E8F0;
    margin-bottom: 12px;
}

.calc-btn-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.calc-opt-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: #E2E8F0;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calc-opt-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.calc-opt-btn.active {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--fpt-orange);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.25);
}

.calc-opt-btn .opt-name {
    font-size: 0.95rem;
    font-weight: 800;
}

.calc-opt-btn.active .opt-name {
    color: #FFB37C;
}

.calc-opt-btn .opt-desc {
    font-size: 0.78rem;
    color: #94A3B8;
}

.calc-result-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 102, 0, 0.4);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.calc-badge-star {
    font-size: 0.75rem;
    font-weight: 800;
    color: #FBBF24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.calc-plan-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.calc-speed-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.calc-speed-text {
    font-size: 0.95rem;
    color: #E2E8F0;
}

.calc-speed-text strong {
    color: #60A5FA;
}

.calc-device-text {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-top: 2px;
}

.calc-price-area {
    margin-bottom: 16px;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.calc-price-area .price-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--fpt-orange);
}

.calc-price-area .price-currency {
    color: var(--fpt-orange);
    font-size: 1.2rem;
    font-weight: 700;
}

.calc-price-area .price-period {
    color: #94A3B8;
    font-size: 0.88rem;
}

.price-promo-tag {
    font-size: 0.82rem;
    color: #34D399;
    font-weight: 600;
    margin-top: 4px;
}

.calc-perks-list {
    list-style: none;
    font-size: 0.85rem;
    color: #CBD5E1;
    margin-bottom: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perk-check {
    color: #34D399;
    font-weight: 900;
    margin-right: 6px;
}

.btn-calc-register {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* ==========================================================================
   9. NEWS & EVENTS SECTION
   ========================================================================== */
.section-news-events {
    padding: 48px 0;
    background: #FFFFFF;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-card-box {
    background: #F8FAFC;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--fpt-royal-blue);
}

.news-thumb-box {
    height: 140px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.nt-blue { background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%); }
.nt-orange { background: linear-gradient(135deg, #C2410C 0%, #FB923C 100%); }
.nt-purple { background: linear-gradient(135deg, #581C87 0%, #A855F7 100%); }

.news-cat-tag {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.news-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-snippet {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================================================================
   10. FAQ ACCORDION SECTION (#faq)
   ========================================================================== */
.section-faq-accordion {
    padding: 56px 0;
    background: #F8FAFC;
    border-top: 1px solid var(--border-card);
}

.faq-accordion-wrapper {
    max-width: 860px;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card-item {
    background: #FFFFFF;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-card-item:hover {
    border-color: #BFDBFE;
}

.faq-card-item.active {
    border-color: var(--fpt-royal-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq-q-btn {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    gap: 12px;
}

.faq-q-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-q-badge {
    background: #EBF4FC;
    color: var(--fpt-blue);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
}

.faq-card-item.active .faq-q-badge {
    background: var(--fpt-royal-blue);
    color: #FFFFFF;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-card-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--fpt-royal-blue);
}

.faq-a-collapse {
    display: none;
    border-top: 1px solid #F1F5F9;
}

.faq-card-item.active .faq-a-collapse {
    display: block;
    animation: fadeInFaq 0.25s ease;
}

@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-a-body {
    padding: 18px 20px 20px;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
}

.faq-footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.faq-footer-cta p {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

.faq-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   11. LOCATION MODAL
   ========================================================================== */
.fpt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 27, 58, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.fpt-modal-overlay.open {
    display: flex;
}

.fpt-location-modal {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: popModal 0.25s ease;
}

@keyframes popModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header-loc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-header-loc h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fpt-blue);
}

.btn-close-loc-modal {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #64748B;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.btn-close-loc-modal:hover {
    background: #F1F5F9;
}

.modal-search-box input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 16px;
    transition: var(--transition);
    outline: none;
}

.modal-search-box input:focus {
    border-color: var(--fpt-royal-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.modal-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: 52vh;
    overflow-y: auto;
    padding-right: 4px;
}

.city-pill-btn {
    background: #F8FAFC;
    border: 1.5px solid var(--border-card);
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.city-pill-btn:hover {
    background: #EBF4FC;
    border-color: var(--fpt-royal-blue);
    color: var(--fpt-blue);
    transform: translateY(-1px);
}

.city-pill-btn.active {
    background: var(--fpt-royal-blue) !important;
    color: #FFFFFF !important;
    border-color: var(--fpt-royal-blue) !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

@media (max-width: 640px) {
    .modal-cities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fpt-location-modal {
        padding: 20px 14px;
    }
}

/* ==========================================================================
   12. POPUP MODAL ĐĂNG KÝ ONLINE (#register-popup)
   ========================================================================== */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 27, 58, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.popup-overlay.open {
    display: flex;
}

.popup-container {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: popModal 0.25s ease;
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #F1F5F9;
    border: none;
    font-size: 1.5rem;
    color: #64748B;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.popup-close:hover {
    background: #E2E8F0;
    color: var(--text-dark);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-icon-badge {
    background: #FFF7ED;
    color: var(--fpt-orange);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.popup-title-text {
    color: var(--fpt-blue);
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.popup-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.45;
}

.selected-plan-badge {
    background: #EBF4FC;
    border: 1px solid #BFDBFE;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.selected-plan-badge .label { color: #64748B; }
.selected-plan-badge strong { color: var(--fpt-blue); margin-left: 6px; }

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.form-label .required { color: var(--fpt-red); }
.form-label .optional { color: var(--text-muted); font-weight: 400; }

.input-with-icon {
    position: relative;
}

.input-with-icon .field-icon {
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--fpt-royal-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.field-error {
    color: var(--fpt-red);
    font-size: 0.78rem;
    margin-top: 4px;
    display: none;
}

.btn-form-submit {
    width: 100%;
    padding: 13px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner-svg {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-privacy-note {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 12px;
}

.form-privacy-note .hl-link {
    color: var(--fpt-orange);
    font-weight: 800;
}

.register-success-state {
    text-align: center;
    padding: 20px 0 10px;
}

.success-icon-badge {
    font-size: 3rem;
    margin-bottom: 8px;
}

.success-title {
    color: var(--fpt-green);
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.success-msg {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-close-success {
    padding: 10px 28px;
    cursor: pointer;
}

/* ==========================================================================
   13. LEGAL MODAL (#legal-popup)
   ========================================================================== */
.legal-modal-container {
    max-width: 640px;
    padding: 28px;
}

.legal-tabs-header {
    display: flex;
    gap: 10px;
    border-bottom: 1.5px solid var(--border-card);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.legal-tab-btn {
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-gray);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.legal-tab-btn.active {
    background: #EBF4FC;
    color: var(--fpt-blue);
    font-weight: 800;
}

.legal-content-panel {
    display: none;
}

.legal-content-panel.active {
    display: block;
    animation: fadeInFaq 0.2s ease;
}

.legal-heading {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--fpt-blue);
    margin-bottom: 4px;
}

.legal-updated-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-scroll-text {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
}

.legal-scroll-text h4 {
    color: var(--text-dark);
    font-size: 0.92rem;
    margin: 14px 0 6px;
}

.legal-scroll-text ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-modal-footer {
    border-top: 1px solid var(--border-card);
    padding-top: 16px;
    margin-top: 20px;
    text-align: right;
}

.btn-close-legal-action {
    padding: 9px 24px;
    font-size: 0.88rem;
}

/* ==========================================================================
   14. FOOTER & BOTTOM NAVIGATION
   ========================================================================== */
.footer {
    background: #001B3A;
    color: #CBD5E1;
    padding: 48px 0 24px;
    font-size: 0.88rem;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-svg {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-certificate-info p {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.5;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

.footer-col-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer-contact-list p {
    margin-bottom: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.hl-highlight {
    color: var(--fpt-orange-bright) !important;
    font-weight: 800;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #CBD5E1;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--fpt-orange-bright);
    padding-left: 3px;
}

.footer-social-icons-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-social-icons-row img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.footer-social-icons-row img:hover {
    transform: scale(1.15);
}

.bct-img-stamp {
    width: 130px;
    height: auto;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: #94A3B8;
}

.legal-mini-links a {
    color: #CBD5E1;
}

.legal-mini-links a:hover {
    color: var(--fpt-orange);
}

/* Floating Chat Widget */
.fpt-floating-widget {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9980;
}

.fpt-chat-bubble {
    width: 54px;
    height: 54px;
    background: #162E5B;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 34, 68, 0.35);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.fpt-chat-bubble:hover {
    transform: scale(1.08);
    background: var(--fpt-blue);
}

.chat-bubble-tooltip {
    position: absolute;
    right: 64px;
    background: #162E5B;
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.fpt-chat-bubble:hover .chat-bubble-tooltip {
    opacity: 1;
}

/* Bottom Mobile Nav */
.bottom-navigation {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 9990;
    border-top: 1px solid var(--border-card);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    color: var(--text-gray);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.1;
}

.bottom-nav-icon { font-size: 1.25rem; margin-bottom: 2px; }

.bottom-nav-item.active-nav-center {
    color: var(--fpt-orange);
    position: relative;
    top: -6px;
}

.bottom-nav-item.active-nav-center .bottom-nav-icon {
    width: 40px;
    height: 40px;
    background: var(--fpt-orange);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.4);
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (NO HORIZONTAL OVERFLOW)
   ========================================================================== */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .header-hotline-btn { display: none; }
    
    .loc-product-card { flex: 0 0 calc(33.333% - 14px); min-width: 250px; }
    .portrait-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .showcase-fptplay-layout { flex-direction: column; }
    .showcase-side-banner { width: 100%; height: 240px; }
    .showcase-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-devices-layout { flex-direction: column; }
    .tech-side-banner-box { width: 100%; height: 240px; }
    .calc-grid-layout { grid-template-columns: 1fr; }
    .footer-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modal-cities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .quick-cards-wrapper { grid-template-columns: 1fr; }
    .loc-product-card { flex: 0 0 min(290px, 82vw); min-width: 0; }
    .portrait-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-cards-grid { grid-template-columns: 1fr; }
    .calc-btn-group { grid-template-columns: 1fr; }
    .news-cards-grid { grid-template-columns: 1fr; }
    .modal-cities-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .header-topbar { display: none; }
    .mobile-location-bar { display: block; }
    .menu-wrapper { height: 60px; }
    .btn-header-cta { padding: 8px 14px; font-size: 0.82rem; }
    .bottom-navigation { display: flex; }
    
    /* Widget chat positioned safely above bottom navigation bar */
    .fpt-floating-widget { bottom: 76px; right: 14px; }
    body { padding-bottom: 60px; }
    
    .footer-main-grid { grid-template-columns: 1fr; }
    .footer-top-row { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   11. SECTION: QUY TRÌNH 4 BƯỚC & 6 LÝ DO CHỌN FPT TELECOM
   ========================================================================== */
.section-steps-guide {
    padding: 60px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.step-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 85, 204, 0.08);
    border-color: #BFDBFE;
}

.step-num-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055CC 0%, #003399 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 85, 204, 0.25);
}

.step-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
}

.step-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.55;
}

.section-why-choose {
    padding: 60px 0;
    background: #FFFFFF;
}

.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.why-card {
    background: #FAFAFA;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.25s ease;
}

.why-card:hover {
    background: #FFFFFF;
    border-color: #FFD8A8;
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.08);
    transform: translateY(-3px);
}

.why-card-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: inline-block;
}

.why-card-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
}

.why-card-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
    .why-cards-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS (Core Web Vitals & Content Visibility)
   ========================================================================== */
.section-portrait-categories,
.section-fptplay-showcase,
.section-camera-showcase,
.fpt-reasons-section,
.fpt-steps-section,
.ftel-calculator-section,
.ftel-faq-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}
