/* ========================================
   1. VARIABLES & RESET
======================================== */
:root {
    --primary-color: #B33A2C;
    --primary-hover: #8e2e23;
    --green-color: #2b9348;
    --text-main: #333333;
    --text-muted: #64748b;
    --bg-light: #f8f8f8;
    --border-color: #e2e8f0;
    --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    outline: none;
}

/* ========================================
   2. COMMON LAYOUT & BUTTONS
======================================== */
.container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

.btn-primary,
.btn-outline {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

/* ========================================
   3. HEADER & NAVIGATION
======================================== */
header, .site-header {
    width: 100%;
    height: 65px;
    background: #ffffff;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.header-slogan {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-align: center;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.hamburger-btn:hover .bar {
    background-color: var(--primary-hover);
}

/* --- SIDEBAR MENU FIX --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 60px 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-sizing: border-box;
}

.side-menu.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.side-menu-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.side-menu-links li {
    margin-bottom: 12px;
    width: 100%;
}

.side-menu-links a {
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.side-menu-links a:hover {
    color: var(--primary-color);
    background-color: #f8fafc;
}

.side-menu-links .btn-highlight,
.side-menu-links .btn-outline-menu {
    text-align: center;
    padding: 12px;
}

.side-menu-links .btn-highlight {
    background-color: var(--primary-color);
    color: #ffffff !important;
    margin-top: 5px;
    border-radius: 8px;
}

.side-menu-links .btn-highlight:hover {
    background-color: var(--primary-hover);
}

.side-menu-links .btn-outline-menu {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color) !important;
    border-radius: 8px;
}

.side-menu-links .btn-outline-menu:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.side-menu-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: auto;
}

.side-menu-footer p {
    margin: 6px 0;
    font-weight: 500;
}

/* ========================================
   4. HERO SECTION & ANIMATIONS
======================================== */
.hero-nhk {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-color: #000000;
}

.hero-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    opacity: 0.65;
    background-color: #000000;
}

.grid-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animated-item {
    position: relative;
}

.animated-item img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1.5s ease-in-out;
}

.animated-item .img-new {
    opacity: 0;
    animation: fadeImage 6s infinite alternate ease-in-out;
}

@keyframes fadeImage {
    0%, 20% { opacity: 0; }
    80%, 100% { opacity: 1; }
}

.zoom-item img {
    animation: imageZoom 8s ease-in-out infinite alternate;
}

.grid-item:nth-child(3) img { animation-delay: 2s; }
.grid-item:nth-child(5) img { animation-delay: 4s; }

@keyframes imageZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
.hero-overlay {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}
.hero-overlay h1 {
    font-size: 38px; 
    font-weight: 900;
    letter-spacing: 1px; 
    line-height: 1.3; 
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    word-break: keep-all; 
}
.hero-overlay p {
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}
.hero-overlay .hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}
@media screen and (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 24px; 
    }
    .hero-overlay p {
        font-size: 15px;
    }
}
.hero-bottom-bar {
    position: relative;
    z-index: 3;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: auto;
}
/* ========================================
   5. DETAILS SECTION & FEATURES GRID
======================================== */
.details-section {
    padding: 10px 0;
    background-color: #fdfdfd;
}
.details-header {
    text-align: center;
    margin-bottom: 40px;
}
.details-header .section-title {
    font-size: 32px;
    color: var(--green-color);
    font-weight: 800;
    margin-bottom: 12px;
}
.badge-green {
    display: inline-block;
    background-color: var(--green-color);
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    padding: 6px 24px;
    border-radius: 30px;
}
.highlights-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #17c3b2, #219ebc);
    color: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.hl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hl-number, .hl-icon {
    font-size: 42px;
    font-weight: 900;
    color: #ffb703;
    line-height: 1;
    margin-bottom: 5px;
}
.hl-icon { font-size: 36px; }
.hl-text {
    font-size: 16px;
    font-weight: 700;
}
.sub-section-title {
    font-size: 24px;
    color: var(--text-main);
    margin: 40px 0 25px;
    text-align: center;
}
.sub-section-title i {
    color: var(--green-color);
}
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}
.feature-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.feature-card {
    flex: 1 1 300px; 
    max-width: 340px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto; 
}
.feature-card p {
    margin-top: auto; 
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--green-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: #e8f5e9;
    color: var(--green-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-card h4 {
    font-size: 16px;
    color: #222222;
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.45;
}

.feature-card p {
    font-size: 13px;
    color: #666666;
    text-align: left;
    line-height: 1.6;
    margin: 0;
}

.feature-card-highlight {
    border: 2px solid var(--primary-color);
    background-color: #fff8f6;
    position: relative;
    box-shadow: 0 4px 14px rgba(179, 58, 44, 0.12);
}

.feature-card-highlight:hover {
    border-color: var(--primary-hover);
    box-shadow: 0 8px 22px rgba(179, 58, 44, 0.2);
}

.feature-card-highlight .feature-icon {
    background-color: #fef2f2;
    color: var(--primary-color);
}

.feature-card-highlight h4 {
    color: var(--primary-color);
}

.feature-card-highlight::before {
    content: "RECOMMEND";
    position: absolute;
    top: -12px;
    right: 18px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(179, 58, 44, 0.3);
}

.pillars-container {
    background-color: #e0f2f1;
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pillar-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pillar-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 32px;
}

.pillar-card h4 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 15px;
}

.pillar-img-box {
    width: 100%;
    max-width: 200px;
    height: 80px;
    margin: 10px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pillar-img-box.large-img {
    max-width: 100%;
    height: 140px;
}

.pillar-img-box.large-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.pillar-tags span {
    display: inline-block;
    background: var(--green-color);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin: 2px;
}

.pillar-desc {
    font-size: 14px;
    color: #444444;
    margin-top: 10px;
}

.app-list {
    font-size: 12px;
    color: #0284c7;
    font-weight: bold;
    margin-top: 8px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.overview-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.card-img-placeholder {
    height: 120px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.overview-card h4 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}

.overview-card p {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
}

/* ========================================
   6. PRICING & DISCOUNTS
======================================== */
.pricing-section {
    margin: 50px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: -32px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 35px;
    transform: rotate(45deg);
}

.card-header {
    padding: 25px 20px;
    text-align: center;
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
}

.border-blue { border-top: 5px solid #0284c7; }
.border-red { border-top: 5px solid var(--primary-color); }

.card-header h3 {
    font-size: 22px;
    color: #1e293b;
    margin-bottom: 5px;
}

.channel-count {
    display: inline-block;
    background: var(--border-color);
    color: #334155;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: normal;
}

.price-vnd {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
}

.card-body {
    padding: 25px 20px;
    flex: 1;
}

.channel-category-list li {
    font-size: 14px;
    color: #334155;
    margin-bottom: 12px;
    line-height: 1.5;
}

.channel-category-list li.sub-detail {
    font-size: 12px;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
}

.text-blue { color: #0284c7; }
.text-red { color: var(--primary-color); }

.pricing-options-container {
    max-width: 900px;
    margin: 0 auto;
}

.option-card {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 22px;
    border: 1.5px solid #f97316;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.option-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.option-sub {
    font-size: 13px;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.4;
}

.option-price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.opt-plan {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

.opt-price strong {
    color: var(--primary-color);
    font-size: 16px;
}

.opt-price small {
    color: var(--text-muted);
    font-size: 12px;
}

.option-note {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   7. FAQ PAGE TROUBLESHOOTING & FAQ STYLES
======================================== */
.quick-trouble {
    max-width: 900px;
    margin: -30px auto 40px;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.quick-trouble-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Sửa lỗi dính chữ dọc & vỡ khung thẻ Step */
.quick-trouble .step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.quick-trouble .step-badge {
    background: var(--primary-color);
    color: #ffffff;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    flex-shrink: 0;
    box-shadow: none;
}

.quick-trouble .step-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
    width: 100%;
    display: block;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.quick-trouble .step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    width: 100%;
    display: block;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: left;
    word-break: break-word;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(179, 58, 44, 0.25);
}

/* Accordion FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    user-select: none;
}

.faq-question .q-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-question .q-badge {
    background: rgba(179, 58, 44, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.faq-question .toggle-icon {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
    background: #f8fafc;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    border-top-color: var(--border-color);
    transition: max-height 0.35s ease-in-out;
}

.answer-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
    display: flex;
    gap: 12px;
}

.answer-content .a-badge {
    background: #334155;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    height: fit-content;
    flex-shrink: 0;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    display: none;
}

/* ========================================
   8. FOOTER (LIGHT MODE - NỀN TRẮNG)
======================================== */
.site-footer {
    background-color: #ffffff;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.6;
    padding-top: 50px;
    border-top: 3px solid var(--primary-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 0.9fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    width: 160px;
    height: auto;
    margin-bottom: 12px;
}

.brand-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 13px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.footer-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}
.footer-link-group {
    color: inherit;            
    text-decoration: none;    
    transition: color 0.3s;   
}


.footer-link-group:hover {
    color: #cc0000;            
    text-decoration: underline; 
}

.contact-info li {
    margin-bottom: 15px;
    color: #475569;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 15px;
    margin-top: 2px;
}

.contact-info strong {
    color: #1e293b;
}

.contact-info a {
    color: #0284c7;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-map-wrapper {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.footer-map-wrapper iframe {
    display: block;
}
.footer-bottom {
    background-color: #0f172a;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.pay-card {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.copyright {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* ========================================
   9. STEP FLOW SECTION (ご利用までの流れ)
======================================== */
.step-flow-section {
    margin: 40px 0 30px;
}

.step-flow-header {
    background-color: #0088cc;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 4px 4px 0 0;
    margin-bottom: 20px;
}

.step-flow-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.step-flow-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    padding: 10px 0;
}

.step-flow-container .step-card {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    gap: 20px;
}

.step-flow-container .step-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-flow-container .step-badge {
    background-color: #0088cc;
    color: #ffffff;
    width: 100px;
    min-width: 100px;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    align-self: flex-start;
}

.step-flow-container .step-badge span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.step-flow-container .step-badge strong {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    margin-top: 2px;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-contact-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    
    /* THU NHỎ KHUNG */
    max-width: 550px;       /* Giới hạn độ rộng vừa đẹp với 2 nút */
    margin: 16px auto 0;     /* Căn giữa toàn bộ khung xám */
    padding: 16px 20px;      /* Giảm chiều cao khung cho gọn */
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.contact-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.contact-label i {
    font-size: 8px;
    vertical-align: middle;
    color: #0284c7;
    margin-right: 6px;
}

.lang-tag {
    font-size: 12px;
    font-weight: normal;
    color: #64748b;
}

.btn-action-group {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

/* Base style cho cả 2 nút */
.btn-step-red,
.btn-step-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;      /* Chống rớt chữ お問い合わせ xuống 2 dòng */
    min-width: 160px;          /* Đảm bảo kích thước 2 nút cân bằng */
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Nút chính (Đăng ký): Nổi bật với tone đỏ dỏm */
.btn-step-red {
    background-color: #e11d48;
    color: #ffffff !important;
}

/* Nút phụ (Liên hệ): Dạng Ghost Button viền xanh hài hòa */
.btn-step-green {
    background-color: #ffffff;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7;
}

/* Hiệu ứng Hover */
.btn-step-red:hover {
    background-color: #be123c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-step-green:hover {
    background-color: #f0f9ff;
    color: #0369a1 !important;
    border-color: #0369a1;
    transform: translateY(-1px);
}

/* ========================================
   10. CHANNEL TABLE
======================================== */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.channel-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 14px;
}

.channel-table th, 
.channel-table td {
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    vertical-align: middle;
    line-height: 1.5;
    height: auto;
}

.channel-table thead th.col-category,
.channel-table th.col-category,
.channel-table th:first-child {
    background-color: #334155;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
}

.channel-table thead th.col-plan-a,
.channel-table thead th:nth-child(2) {
    background-color: #0284c7;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

.channel-table thead th.col-plan-b,
.channel-table thead th:nth-child(3) {
    background-color: #e03a2f;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

.channel-table tbody td.cat-cell,
.channel-table tbody td:first-child {
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: bold;
    text-align: center;
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
}

.channel-table tbody td {
    color: #334155;
    text-align: left;
}

/* ========================================
   11. RESPONSIVE MEDIA QUERIES
======================================== */
@media (max-width: 768px) {
    /* Header Mobile */
    .header-slogan {
        font-size: 11px;
        text-align: center;
        line-height: 1.2;
    }

    /* Hero Mobile */
    .hero-nhk {
        min-height: 420px;
    }

    .hero-overlay h1 {
        font-size: 32px;
    }

    .hero-overlay p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-overlay .hero-btns {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-btns .btn-outline {
        background-color: rgba(255, 255, 255, 0.95);
        color: var(--primary-color) !important;
        border: 2px solid var(--primary-color);
        font-weight: bold;
    }

    .hero-bottom-bar {
        padding: 10px 10px;
        font-size: 13px;
    }

    /* Details, Grids & FAQ Mobile */
    .details-header .section-title {
        font-size: 24px;
    }

    .badge-green {
        font-size: 15px;
    }

    .features-grid .feature-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .quick-trouble {
        margin: -20px 15px 30px;
        padding: 20px;
    }

    .highlights-banner, 
    .pillars-grid, 
    .overview-grid, 
    .pricing-grid, 
    .option-price-list,
    .footer-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Step Flow Mobile */
    .step-flow-container .step-card {
        flex-direction: column;
        gap: 12px;
    }

    .step-flow-container .step-badge {
        width: 100%;
        min-width: 100%;
        padding: 8px 0;
        flex-direction: row;
        gap: 8px;
    }

    .step-flow-container .step-badge strong {
        font-size: 22px;
        margin-top: 0;
    }

    .step-contact-box {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 12px;
    }

    .btn-action-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header-slogan {
        display: none;
    }
}
/* Container Banner Khuyến Mãi */
.discount-banner {
    background: linear-gradient(135deg, #fff8f6 0%, #ffffff 100%);
    border: 2px dashed #e63946;
    border-radius: 12px;
    padding: 24px 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.08);
}

/* Tiêu đề Khuyến Mãi */
.discount-banner h4 {
    color: #e63946;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-banner h4 i {
    font-size: 1.3rem;
}

/* Khung lưới chia 2 cột */
.discount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

/* Thẻ gói cước lẻ (discount-item) */
.discount-item {
    background: #ffffff;
    border: 1.5px solid #ffccd0;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.discount-item:hover {
    transform: translateY(-2px);
    border-color: #e63946;
}

/* Dòng "5/10ヵ月分のお支払いで" */
.discount-item .disc-title {
    font-size: 0.95rem;
    color: #555555;
    font-weight: 500;
}

/* Dòng "6/12ヵ月 視聴可能 (Xヵ月分無料！)" */
.discount-item .disc-desc {
    font-size: 1.1rem;
    color: #222222;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Con số tháng to bật lên */
.discount-item .disc-desc strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: #e63946;
}

/* Badge (Xヵ月分無料！) màu đỏ/vàng nổi bật */
.discount-item .disc-desc small {
    background-color: #e63946;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}