/**
 * B2B UP - Giải pháp xúc tiến thương mại cho Hội doanh nghiệp
 * Developed by ABS Tech
 * Stylesheet: home.css
 */

:root {
    --blue: #0057FF;
    --blue-dark: #003ECC;
    --blue-light: #EBF2FF;
    --blue-t: #0057FF;
    --orange: #FF7A00;
    --orange-dark: #E66A00;
    --orange-light: #FFF4EB;
    --navy: #0A2670;
    --navy-dark: #061A52;
    --navy-light: #13399E;
    
    --bg: #FFFFFF;
    --bg-alt: #F4F7FB;
    --bg-card: #FFFFFF;
    --hdr: rgba(255, 255, 255, 0.95);
    
    --ink: #0D1B2A;
    --ink-light: #1E293B;
    --mute: #505E6E;
    --mute-light: #8292A2;
    
    --line: #E2E8F0;
    --line-light: #F1F5F9;
    --line-focus: #0057FF;
    
    --shadow-sm: 0 2px 4px rgba(10, 38, 112, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 38, 112, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 38, 112, 0.12);
    --shadow-glow: 0 10px 30px rgba(255, 122, 0, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --blue-t: #6B9BFF;
        --bg: #071433;
        --bg-alt: #0B1B45;
        --bg-card: #12213A;
        --hdr: rgba(7, 20, 51, 0.95);
        --ink: #EAF0F7;
        --ink-light: #F8FAFC;
        --mute: #9DB0C5;
        --mute-light: #CBD5E1;
        --line: #1F3354;
        --line-light: #1A2C49;
        --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --blue-t: #6B9BFF;
    --bg: #071433;
    --bg-alt: #0B1B45;
    --bg-card: #12213A;
    --hdr: rgba(7, 20, 51, 0.95);
    --ink: #EAF0F7;
    --ink-light: #F8FAFC;
    --mute: #9DB0C5;
    --mute-light: #CBD5E1;
    --line: #1F3354;
    --line-light: #1A2C49;
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.w {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.015em;
    font-weight: 700;
}

h2 {
    font-size: clamp(28px, 3.8vw, 40px);
    font-weight: 800;
}

p {
    margin: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    background: var(--hdr);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}

header .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

.logo .pt {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1.5px solid #CBD5E1;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 4px;
}

:root[data-theme="dark"] .logo .pt,
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logo .pt {
        color: #FFFFFF;
        border-color: #334155;
    }
}

.logo .pt b {
    color: var(--orange);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
}

nav a {
    color: var(--ink);
    opacity: 0.85;
    position: relative;
    padding: 6px 0;
}

nav a:hover {
    opacity: 1;
    color: var(--blue-t);
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-t);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 20px;
    color: var(--ink);
    cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font: 600 15px 'Sora', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn.p {
    background: linear-gradient(135deg, #FF8C1A 0%, var(--orange) 100%);
    color: #0D1B2A;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}

.btn.p:hover {
    background: linear-gradient(135deg, #FFA033 0%, var(--orange-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.45);
}

.btn.s {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn.s:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn.outline-blue {
    background: transparent;
    color: var(--blue-t);
    border: 1.5px solid var(--blue-t);
}

.btn.outline-blue:hover {
    background: var(--blue-t);
    color: #FFFFFF;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

header .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #061A52 0%, #0A2670 45%, #0057FF 100%);
    color: #FFFFFF;
    padding: 80px 0 92px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.18) 0%, rgba(0, 87, 255, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.35) 0%, rgba(6, 26, 82, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.hero .w {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #FFB366;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.hero-pill i {
    color: var(--orange);
}

.hero h1 {
    font-size: clamp(34px, 4.8vw, 56px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 span.gradient-txt {
    background: linear-gradient(135deg, #FFFFFF 30%, #FFB366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .sub-lead {
    color: #FFC078;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.hero .desc {
    color: #D3E0FA;
    max-width: 48ch;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.hero .cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Board SVG Card */
.board {
    background: rgba(6, 26, 82, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(14px);
    position: relative;
    transition: var(--transition);
}

.board:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
}

.board-header h3 {
    font-size: 14px;
    color: #E2E8F0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.board-header h3 i {
    color: var(--orange);
}

.board-badge {
    background: rgba(0, 87, 255, 0.4);
    border: 1px solid rgba(107, 155, 255, 0.4);
    color: #9DBBFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.board svg {
    width: 100%;
    height: auto;
    display: block;
}

.board rect[fill="#1c3552"] {
    fill: #0E275C;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
}

.board rect[fill="#0057FF"] {
    fill: #0057FF;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1;
}

.board text {
    font-family: 'Sora', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
}

.board .note {
    font-size: 13px;
    color: #BFD3F8;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
section {
    padding: 84px 0;
    position: relative;
}

.alt {
    background: var(--bg-alt);
}

.section-head {
    margin-bottom: 36px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.lead {
    color: var(--mute);
    max-width: 65ch;
    margin-top: 14px;
    font-size: 16.5px;
    line-height: 1.7;
}

.lead.center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Section: Thách thức (Pain Points)
   ========================================================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pain-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 122, 0, 0.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pain-content h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.pain-content p {
    font-size: 14.5px;
    color: var(--mute);
    line-height: 1.6;
}

.pain-bridge {
    margin-top: 36px;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.08) 0%, rgba(10, 38, 112, 0.04) 100%);
    border: 1.5px dashed var(--blue-t);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pain-bridge p {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue-t);
}

/* ==========================================================================
   Section: Video Sự Kiện (Featured Event Video Showcase)
   ========================================================================== */
.video-section {
    background: linear-gradient(180deg, #062363 0%, #0A2670 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.video-section .section-head h2 {
    color: #FFFFFF;
}

.video-section .lead {
    color: #D3E0FA;
}

.video-wrapper {
    margin-top: 40px;
    background: rgba(6, 26, 82, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: center;
}

.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.3;
}

.video-info .event-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #FFB366;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.video-info .event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.video-info p {
    color: #D3E0FA;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.video-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 26px;
}

.v-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.v-item b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
}

.v-item span {
    font-size: 13px;
    color: #CBD5E1;
}

.video-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Section: Hình ảnh sự kiện (Event Gallery)
   ========================================================================== */
.gallery-section {
    background: var(--bg);
    position: relative;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0A2670;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-t);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 26, 82, 0) 30%, rgba(6, 26, 82, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .gallery-zoom-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.95);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.2s ease;
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-overlay span {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Lightbox Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 10, 30, 0.94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.gallery-modal.show {
    display: flex;
}

.gallery-modal-content {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    background: #061A52;
    display: flex;
    flex-direction: column;
}

.gallery-modal-content img {
    max-width: 90vw;
    max-height: calc(85vh - 50px);
    object-fit: contain;
    display: block;
}

.gallery-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(6, 26, 82, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    z-index: 10;
}

.gallery-modal-close:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.gallery-modal-caption {
    background: rgba(6, 26, 82, 0.95);
    padding: 12px 18px;
    color: #D3E0FA;
    font-size: 14.5px;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-action {
    margin-top: 36px;
    text-align: center;
}

.gallery-album-btn {
    padding: 14px 32px;
    font-size: 15.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.modal-album-link {
    display: inline-block;
    margin-top: 6px;
    color: #FFB366;
    font-size: 13px;
    text-decoration: underline;
    transition: var(--transition);
}

.modal-album-link:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   Section: Ba hợp phần giải pháp (3 Solution Pillars)
   ========================================================================== */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.part-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.part-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1;
}

.part-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.part-card.p-blue::before { background: var(--blue); }
.part-card.p-orange::before { background: var(--orange); }
.part-card.p-navy::before { background: var(--navy); }

.part-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.part-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.p-blue .part-icon { background: rgba(0, 87, 255, 0.1); color: var(--blue-t); }
.p-orange .part-icon { background: rgba(255, 122, 0, 0.12); color: var(--orange); }
.p-navy .part-icon { background: rgba(10, 38, 112, 0.12); color: var(--navy); }

.part-title-grp h3 {
    font-size: 20px;
    font-weight: 700;
}

.part-title-grp .sub {
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mute);
}

.part-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    flex-grow: 1;
}

.part-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--ink);
    border-top: 1px solid var(--line-light);
}

.part-card li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    font-size: 14px;
}

.p-blue li::before { color: var(--blue-t); }
.p-orange li::before { color: var(--orange); }
.p-navy li::before { color: var(--navy); }

/* ==========================================================================
   Section: Hệ sinh thái chức năng
   ========================================================================== */
.mods-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 40px;
}

.mod-pill {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    padding: 10px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.mod-pill:hover {
    border-color: var(--blue-t);
    color: var(--blue-t);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mod-pill b {
    color: var(--blue-t);
    font-weight: 700;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.model-box {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.model-box:hover {
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.model-box h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-t);
}

.model-box p {
    color: var(--mute);
    font-size: 15.5px;
    line-height: 1.65;
}

/* ==========================================================================
   Section: Quy trình triển khai 6 bước
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.step-card {
    counter-increment: step-counter;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-t);
}

.step-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue-t) 0%, var(--navy) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0, 87, 255, 0.25);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
}

.step-card p {
    color: var(--mute);
    font-size: 14.5px;
    line-height: 1.65;
}

/* ==========================================================================
   Section: Mô hình hợp tác (Packages / Pricing)
   ========================================================================== */
.pk-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 24px;
    margin-top: 44px;
    align-items: stretch;
}

.pk-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.pk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pk-card.featured {
    background: linear-gradient(180deg, #0A2670 0%, #061A52 100%);
    color: #FFFFFF;
    border: 2px solid var(--orange);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 122, 0, 0.2);
    transform: scale(1.02);
}

.pk-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pk-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF9933 0%, var(--orange) 100%);
    color: #0D1B2A;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.pk-card h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pk-card p.pk-desc {
    color: var(--mute);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pk-card.featured p.pk-desc {
    color: #D3E0FA;
}

.pk-card ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    flex-grow: 1;
}

.pk-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.5;
    border-top: 1px solid var(--line-light);
}

.pk-card.featured li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.pk-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    font-size: 13px;
    color: var(--blue-t);
}

.pk-card.featured li::before {
    color: var(--orange);
}

.pk-card .btn {
    width: 100%;
}

/* ==========================================================================
   Section: Kinh nghiệm thực tiễn (Case Studies)
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 40px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.case-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--blue-light);
    color: var(--blue-t);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

:root[data-theme="dark"] .case-badge,
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .case-badge {
        background: rgba(0, 87, 255, 0.25);
        color: #9DBBFF;
    }
}

.case-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--mute);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.case-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: auto;
    margin-bottom: 20px;
}

.stat-item b {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--blue-t);
}

.stat-item span {
    font-size: 12.5px;
    color: var(--mute);
    margin-top: 4px;
    display: block;
}

.case-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-t);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.case-link:hover {
    text-decoration: underline;
    color: var(--blue-dark);
}

/* ==========================================================================
   Section: Đối tác công nghệ (Why ABS Tech)
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 36px;
    list-style: none;
    padding: 0;
}

.why-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-item:hover {
    border-color: var(--blue-t);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.why-item-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue-t);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

:root[data-theme="dark"] .why-item-icon,
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .why-item-icon {
        background: rgba(0, 87, 255, 0.25);
        color: #9DBBFF;
    }
}

.why-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

/* ==========================================================================
   Section: Đăng ký tư vấn (Contact Form)
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, #061A52 0%, #0A2670 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.contact .w {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.contact-left h2 {
    color: #FFFFFF;
    margin-bottom: 14px;
}

.contact-left p {
    color: #CBD5E1;
    font-size: 16px;
    line-height: 1.7;
}

.contact-cards {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.c-info-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.c-info-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.c-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 122, 0, 0.2);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.c-detail span {
    font-size: 12.5px;
    color: #9DB0C5;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.c-detail a, .c-detail b {
    font-size: 16.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.c-detail a:hover {
    color: var(--orange);
}

/* Form Styles */
.contact-form-box {
    background: rgba(10, 38, 112, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

form .full {
    grid-column: 1 / -1;
}

label {
    font-size: 13.5px;
    font-weight: 600;
    color: #CBD5E1;
    display: block;
    margin-bottom: 6px;
}

label span.req {
    color: #FF7A00;
}

input, select, textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 26, 82, 0.85);
    color: #FFFFFF;
    font: 15px 'Sora', sans-serif;
    transition: var(--transition);
}

input::placeholder, textarea::placeholder {
    color: #7188AA;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--orange);
    background: #0B2466;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25);
    outline: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
}

select option {
    background: #0A2670;
    color: #FFFFFF;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

#st {
    grid-column: 1 / -1;
    font-size: 14.5px;
    font-weight: 600;
    color: #9FD0FF;
    min-height: 24px;
    padding: 6px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #05143B;
    color: #9DB0C5;
    padding: 40px 0;
    font-size: 14.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .pk-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .pk-card.featured {
        transform: none;
    }
    .pk-card.featured:hover {
        transform: translateY(-4px);
    }
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    header .w {
        height: 64px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: calc(64px + env(safe-area-inset-top, 0px));
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 99;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    nav a {
        font-size: 16px;
        width: 100%;
        padding: 8px 0;
    }
    
    .hero .w,
    .contact .w,
    .models-grid,
    .parts-grid,
    .steps-grid,
    .cases-grid,
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 56px 0;
    }
    
    .hero {
        padding: 52px 0 64px;
    }
    
    .contact-form-box {
        padding: 24px 20px;
    }
    
    .video-wrapper {
        padding: 20px;
    }
    
    .video-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo .pt {
        display: none;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .board {
        padding: 16px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
