/* =========================================
   CSS CHO LANDING PAGE TECH - WOW PREMIUM
   ========================================= */

:root {
    --primary: #003366;
    --primary-light: #004c99;
    --primary-dark: #001a33;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 25px rgba(0, 51, 102, 0.4);

    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
}

[data-theme="dark"] {
    --primary: #3385ff;
    --primary-light: #66a3ff;
    --primary-dark: #0066cc;
    --text-dark: #f8fafc;
    --text-gray: #cbd5e1;
    --bg-white: #151d2b;
    --bg-gray: #0f172a;
    --border-color: #334155;

    --bg-header: rgba(30, 41, 59, 0.95);
    --bg-float: rgba(30, 41, 59, 0.9);


    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 25px rgba(51, 133, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    line-height: 1.6;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.relative {
    position: relative;
}

.text-center {
    text-align: center;
}

/* --- BACKGROUND DECOR (GLOWING ORBS) --- */
.bg-decor-logo {
    position: absolute !important;
    width: 600px !important;
    opacity: 0.03 !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.bg-decor-logo.top-left {
    top: -100px !important;
    left: -200px !important;
    transform: rotate(-15deg) !important;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    animation: ambientPulse 8s alternate infinite ease-in-out;
}

@keyframes ambientPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.2) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(51, 133, 255, 0.2) 0%, transparent 70%);
    top: 20%;
    right: -100px;
}

.orb-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.15) 0%, transparent 70%);
    bottom: 10%;
    left: 10%;
}

/* --- HEADER PREMIUM (DOUBLE MENU) --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.top-bar {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.header-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-gray);
    transition: all 0.3s;
    outline: none;
    -webkit-appearance: none;
}

.search-box input:focus {
    outline: none !important;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: none !important;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.top-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.action-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.action-item:hover {
    color: var(--primary);
}

.cart-btn {
    background: var(--bg-gray);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

/* MENU BAR */
.menu-bar {
    background: var(--bg-white);
}

.menu-container {
    display: flex;
    align-items: stretch;
    position: relative;
}

.all-categories {
    display: none;
    background: var(--primary);
    color: white;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    min-width: 60px;
}

.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
}

.nav-item {
    position: static;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    white-space: nowrap;
}

.nav-item>a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.nav-item>a:hover,
.nav-item>a.active {
    color: var(--primary);
}

.nav-item>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
    border-radius: 3px 3px 0 0;
}

.nav-item>a:hover::after,
.nav-item>a.active::after {
    width: 80%;
}

/* MEGA DROPDOWN MENU */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- MEGA MENU OVERLAY FOCUS --- */
@media (min-width: 992px) {
    #nava-master-wrapper::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    #nava-master-wrapper:has(.menu-bar .nav-item.has-dropdown:hover)::after {
        opacity: 1;
        visibility: visible;
    }
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--bg-gray);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
    padding: 30px;
    width: 100%;
    left: 0;
    right: 0;
}

.mega-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: 0.3s;
}

.mega-card:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mega-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.mini-pc-menu .mega-card img {
    width: 150px;
    height: 60px;
    object-fit: contain;
}

.mega-card span {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* --- HERO SECTION 3D --- */
.hero-3d {
    padding: 80px 0 100px;
    position: relative;
}

.hero-3d-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "head image"
        "foot image";
    gap: 0 60px;
    align-items: start;
}

.hero-head {
    grid-area: head;
    align-self: center;
    padding-top: 30px;
}

.hero-foot {
    grid-area: foot;
    align-self: end;
    margin-bottom: -28px;
}

.hero-image {
    grid-area: image;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--primary);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 10px;
}

.hero-image:hover .hero-nav-btn {
    opacity: 1;
    visibility: visible;
}

.hero-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-btn.prev {
    left: -40px;
}

.hero-nav-btn.next {
    right: -40px;
}

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

.hero-slider {
    cursor: grab;
}

.hero-slider:active {
    cursor: grabbing;
}

.hero-slider img,
.hero-image img {
    -webkit-user-drag: none;
    user-select: none;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0;
    letter-spacing: -1px;
    white-space: nowrap;
}

.hero-title span {
    white-space: nowrap;
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #3385ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

/* HERO SOCIALS */
.hero-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.social-btn img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* FLOATING HERO IMAGE */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.energy-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 51, 102, 0.3);
    animation: spin 20s linear infinite;
}

.energy-ring::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    border: 1px solid rgba(51, 133, 255, 0.4);
    animation: spin 15s linear infinite reverse;
}

.floating-pc {
    position: relative;
    max-width: 110%;
    max-height: 110%;
    z-index: 10;
    transform: scale(1.05) translate(0, 5%);
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15));
}

/* TECH FLOAT ITEMS (WOW EFFECT) */
.tech-float-item {
    position: absolute;
    background: var(--bg-float, rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    animation: float 5s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
    transform: translateZ(0);
}

.tech-float-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tech-float-item div {
    text-align: left;
}

.tech-float-item span {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.tech-float-item small {
    color: var(--text-gray);
    font-size: 0.75rem;
}

.tech-item-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.tech-item-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 2.5s;
    border-color: rgba(51, 133, 255, 0.5);
    box-shadow: 0 10px 20px rgba(51, 133, 255, 0.2);
}

.tech-item-2 i {
    color: #3385ff;
}

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- BENEFITS SECTION --- */
.benefits-section {
    margin-top: -30px;
    position: relative;
    z-index: 20;
    padding-bottom: 60px;
}

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

.benefit-card {
    background: var(--bg-white);
    padding: 25px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.b-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.benefit-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* --- HOT CATEGORIES --- */
.hot-categories {
    padding: 60px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    transition: 0.3s;
    border: 1px solid transparent;
}

.cat-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: 0.3s;
}

.cat-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

.cat-card:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.15);
    transform: translateY(-5px);
    color: var(--primary);
}

.cat-card:hover img {
    transform: scale(1.15) rotate(-5deg);
}

/* --- PRODUCT GRID (WOW GLOW) --- */
.product-section {
    padding: 80px 0;
    padding-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.view-all-link:hover {
    gap: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.card-content {
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    flex: 1;
}

.card-image-wrap {
    position: relative;
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.card-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0 30px;
    position: relative;
    z-index: 10;
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.product-card:hover .card-glow {
    opacity: 1;
    transform: scale(2);
}

.card-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin: 0 auto;
    min-height: 70px;
    max-width: 90%;
}

.product-img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-img {
    transform: scale(1.1) translateY(-15px) rotate(2deg);
    filter: drop-shadow(0 30px 40px rgba(0, 51, 102, 0.2));
}

/* --- ABOUT SECTION (DARK HIGH-TECH WOW) --- */
.about-section {
    padding: 120px 0 80px;
    background-color: #020617;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(51, 133, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 133, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.about-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.about-container {
    position: relative;
    z-index: 10;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.about-title .text-gradient {
    background: linear-gradient(135deg, #3385ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-desc p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.8;
}

.highlight-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 51, 102, 0.1);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.highlight-box p {
    color: white;
    font-size: 1.15rem;
    margin: 0;
    font-style: italic;
}

.about-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.about-visual img {
    max-width: 80%;
    position: relative;
    z-index: 5;
    animation: float 6s infinite ease-in-out;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    border-radius: 10px;
}

.tech-ring-1 {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(51, 133, 255, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.tech-ring-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px dashed rgba(0, 51, 102, 0.3);
    border-radius: 50%;
    animation: spin 30s linear infinite reverse;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: 0.3s;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 51, 102, 0.5);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #3385ff 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.3);
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.pillar-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}


/* --- CUSTOM SCROLLBAR & SELECTION --- */
::-webkit-scrollbar {
    width: 6px;
    /* slightly thinner for a modern look */
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#nava-master-wrapper:hover::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

::selection {
    background: #3385ff;
    color: #fff;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA NEON BOX --- */
.cta-neon-box {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.2);
    border: 1px solid rgba(51, 133, 255, 0.2);
    z-index: 10;
}

.cta-neon-box.blue-theme {
    background: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(135deg, #004c99 0%, #3385ff 100%);
    background-size: 25px 25px, 25px 25px, 100% 100%;
    border: none;
    box-shadow: 0 20px 50px rgba(51, 133, 255, 0.3);
}

.cta-n-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-neon {
    background: transparent;
    border: 2px solid #3385ff;
    color: #3385ff;
    font-size: 1.1rem;
    padding: 15px 40px;
    box-shadow: 0 0 15px rgba(51, 133, 255, 0.3), inset 0 0 10px rgba(51, 133, 255, 0.1);
}

.btn-neon:hover {
    background: #3385ff;
    color: #020617;
    box-shadow: 0 0 30px rgba(51, 133, 255, 0.6);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--bg-white);
    color: #004c99;
    font-size: 1.1rem;
    padding: 15px 40px;
    font-weight: 800;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.btn-white:hover {
    background: var(--bg-gray);
    color: #003366;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-desc {
    color: var(--text-gray);
    margin: 20px 0;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.footer-socials a:hover img {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* --- BUTTONS --- */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.btn-blue {
    background-color: var(--primary-light);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.4);
}

.btn-blue:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(0, 51, 102, 0.05);
    transform: translateY(-3px);
}

.btn-glass {
    background: transparent;
    backdrop-filter: blur(10px);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-glass:hover {
    background: var(--bg-gray);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.1rem;
}

/* --- UTILITIES --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* --- VIDEO & BLOG SECTIONS --- */
.video-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #091933 0%, #030812 100%);
    color: white;
    position: relative;
}

.video-section .section-title {
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: rgba(51, 133, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.4);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.5s;
}

.video-card:hover .video-thumb img {
    filter: brightness(1) scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 102, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 51, 102, 0.5);
}

.play-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(51, 133, 255, 0.8);
    animation: pulse 2s infinite;
}

.play-btn i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

.video-card:hover .play-btn {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 25px 20px;
}

.video-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.blog-section {
    padding: 100px 0;
    background: var(--bg-gray);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #3385ff);
    opacity: 0;
    transition: 0.3s;
    z-index: 10;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1) rotate(2deg);
}

.blog-info {
    padding: 25px 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    color: var(--text-dark);
    transition: 0.3s;
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* --- INFINITE MARQUEE --- */
.marquee-section {
    padding: 15px 0;
    background: linear-gradient(90deg, #020617 0%, #0f172a 50%, #020617 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    align-items: center;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    gap: 50px;
    padding-right: 50px;
}

.marquee-item {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.marquee-item i {
    color: #3385ff;
    font-size: 1.5rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- BENTO GRID SECTION (WOW FEATURES) --- */
.bento-section {
    padding: 100px 0;
    background: var(--bg-gray);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.bento-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.bento-box.large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: white;
}

.bento-box.wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.bento-box.large .bento-icon {
    color: #3385ff;
    font-size: 4rem;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.bento-box.large .bento-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.bento-desc {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bento-box.large .bento-desc {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.bento-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 12rem;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    transform: rotate(-15deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
}

.bento-box:hover .bento-bg-icon {
    transform: rotate(0deg) scale(1.1);
    color: rgba(0, 51, 102, 0.06);
}

.bento-box.large .bento-bg-icon {
    color: rgba(255, 255, 255, 0.03);
    font-size: 20rem;
    right: -50px;
    bottom: -50px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
}

.bento-box.large:hover .bento-bg-icon {
    transform: rotate(5deg) scale(1.15);
    color: rgba(255, 255, 255, 0.08);
}

.bento-content {
    position: relative;
    z-index: 10;
}

@media (max-width: 1200px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-3d-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .about-visual {
        min-height: 300px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-box.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-box.wide {
        grid-column: span 1;
    }
}

@media (max-width: 991px) {

    /* --- GLOBAL MOBILE ADJUSTMENTS --- */
    .container {
        padding: 0 15px;
    }

    /* --- HEADER MOBILE REDESIGN (CLEAN & PRO) --- */
    .header {
        /* position: sticky; */
        top: 0;
    }

    .top-bar {
        padding: 12px 0;
    }

    .top-bar-container {
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        align-items: center;
        gap: 15px;
    }

    .logo {
        grid-column: 1;
    }

    .header-logo-img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }

    .search-box {
        grid-column: 1 / span 3;
        grid-row: 2;
        width: 100%;
        margin-top: 5px;
    }

    .search-box input {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: var(--radius-pill);
    }

    .top-actions {
        grid-column: 2 / span 2;
        grid-row: 1;
        justify-content: flex-end;
        gap: 12px;
    }

    .action-item {
        font-size: 0.75rem;
    }

    .action-item span {
        display: none;
    }

    /* Hide text, keep icons for Hotline/Cart */
    .action-item i {
        font-size: 1.5rem;
    }

    .cart-btn {
        padding: 6px 12px;
    }

    /* --- HORIZONTAL SCROLLING MENU --- */
    .menu-bar {
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav {
        display: flex !important;
        overflow-x: auto;
        padding: 8px 0;
        gap: 5px;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-item>a {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex-direction: column;
        min-width: 75px;
        text-align: center;
    }

    .nav-item>a img {
        width: 22px;
        height: 22px;
        margin-bottom: 3px;
    }

    /* --- HERO MOBILE REFINEMENT --- */
    .hero-3d {
        padding: 40px 0 40px;
    }

    .hero-3d-container {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

    .hero-cta .btn-large {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    .hero-socials {
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        text-align: center;
    }

    .social-label {
        font-size: 0.8rem;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }

    .hero-image {
        height: 200px;
        margin-top: 20px;
    }

    .energy-ring {
        width: 220px;
        height: 220px;
    }

    /* --- SECTIONS MOBILE --- */
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .header-callout-pill {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        border-radius: var(--radius-lg);
        gap: 15px;
    }

    .section-header .view-all-link {
        margin-top: 5px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .brand-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
        margin-top: 30px;
        letter-spacing: 1px;
    }

    /* Mobile line break for brand title */
    .brand-br {
        display: inline;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .product-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 0 30px;
        scrollbar-width: none;
    }

    .product-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 85%;
        /* Show 85% of card to hint at next card */
        scroll-snap-align: center;
        padding: 30px 20px 0;
    }

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -10px;
        margin-bottom: 20px;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border-color);
        transition: 0.3s;
    }

    .dot.active {
        width: 24px;
        border-radius: 4px;
        background: var(--primary);
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bento-box {
        padding: 30px 20px;
    }

    .bento-box.large {
        grid-column: span 1;
    }

    .bento-box.wide {
        grid-column: span 1;
    }

    .product-card {
        padding: 30px 20px 0;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-desc {
        font-size: 0.9rem;
        min-height: auto;
        margin-bottom: 20px;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .cat-card {
        padding: 12px 5px;
    }

    .cat-card img {
        width: 24px;
        height: 24px;
    }

    .cat-card span {
        font-size: 0.75rem;
    }
}


/* --- BRAND LOGO SLIDER --- */
/* Mobile line break helper - hidden on desktop */
.brand-br {
    display: none;
}

.brand-title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    margin-top: 50px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #2563eb;
    letter-spacing: 2px;
    line-height: 1.4;
    padding: 10px 0;
}

.brand-slider {
    display: block !important;
    width: 100% !important;
    clear: both;
    flex-direction: column !important;
}

.slider-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 30px 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-track {
    display: inline-flex;
    animation: scroll-left 70s linear infinite;
    gap: 50px;
    padding-right: 50px;
    align-items: center;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 70px;
    flex-shrink: 0;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: 0.4s;
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


.brand-track.reverse {
    animation-direction: reverse;
}

.footer-company-info {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.company-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.detail-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.certifications {
    display: flex;
    gap: 20px;
    align-items: center;
}

.certifications img {
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}

.certifications a:first-child img {
    height: 50px;
}

/* BCT logo needs more height */
.certifications a:last-child img {
    height: 32px;
}

/* DMCA logo is shorter */
.certifications a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-logo-img {
        margin: 0 auto;
    }

    .footer-company-info {
        flex-direction: column;
        text-align: left;
        gap: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .detail-item {
        justify-content: flex-start;
        text-align: left;
        align-items: flex-start;
    }

    .certifications {
        justify-content: center;
    }
}

/* STICKY HEADER SCROLLED STATE (SMOOTH TRANSFORM) */
.header {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    transform: translateY(calc(-1 * var(--top-bar-height, 81px)));
    /* Height of top-bar on PC */
    box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
    .header.scrolled {
        transform: translateY(calc(-1 * var(--top-bar-height, 150px)));
        /* Height of top-bar row + search row on mobile */
    }
}

/* --- MOBILE MENU TOGGLE --- */
.mobile-search-toggle, .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

/* --- SIDEBAR DRAWER --- */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(3px);
}

.sidebar-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 2001;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-drawer.active {
    left: 0;
    right: auto;
}

.sidebar-drawer.active {
    left: 0;
    right: auto;
}

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

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    position: relative;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Sidebar Navigation Styling */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav .nav-item {
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.mobile-nav .nav-item>a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 16px 20px;
    gap: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: 0.2s;
    border: none !important;
}

.mobile-nav .nav-item>a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.mobile-nav .nav-item>a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin: 0 !important;
}

.mobile-nav .nav-item>a span {
    flex: 1;
    font-size: 1rem;
    text-align: left;
}

.mobile-nav .nav-item>a i.ph-caret-down {
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

/* Submenu split-screen layout */
.mobile-nav .nav-item>a i.ph-caret-down {
    display: none;
}

.mobile-nav .nav-item>a {
    padding: 12px 5px;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px;
}

.mobile-nav .nav-item>a span {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
    width: 100%;
    flex: none;
}

.mobile-nav .nav-item {
    width: 85px;
    border-right: 1px solid var(--border-color);
}

.mobile-nav .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: calc(100% - 85px);
    box-sizing: border-box;
    height: 100%;
    background: var(--bg-gray);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    padding: 15px;
    margin: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.mobile-nav .dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav .dropdown-menu li:last-child {
    border-bottom: none;
}

.mobile-nav .dropdown-menu li a {
    display: block;
    padding: 12px 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Show active submenu */
.mobile-nav .nav-item.open>a {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.mobile-nav .nav-item.open>a::after {
    width: 80%;
}

.mobile-nav .nav-item:first-child {
    display: none !important;
}

.mobile-nav .nav-item.open .dropdown-menu {
    left: 85px;
}

.mobile-nav .dropdown-menu.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    align-content: start;
}

.mobile-submenu-header {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-submenu-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
}

.mobile-nav .mega-card {
    padding: 15px 10px;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav .mega-card span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.4;
    color: var(--text-dark);
}

.mobile-nav .mega-card img,
.mobile-nav .mega-card i {
    width: 45px;
    height: 45px;
    font-size: 45px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .mobile-search-toggle, .mobile-menu-toggle {
        display: block;
    }
    .desktop-theme-toggle {
        display: none !important;
    }

    .top-bar-container {
        grid-template-columns: auto auto 1fr auto !important;
    }

    .top-actions {
        gap: 15px !important;
    }

    .top-actions .action-item div {
        display: none;
    }

    /* Hide text in hotline on mobile to save space */
    .top-actions .action-item i {
        font-size: 1.6rem;
    }

    .top-actions .cart-btn {
        font-size: 0;
    }

    /* Hide 'Giỏ hàng' text */
    .top-actions .cart-btn i {
        font-size: 1.6rem;
    }

    /* Hide the horizontal menu on mobile for a cleaner UI */
    .menu-bar {
        display: none;
    }

    /* Adjust header height - Always show on mobile */
    .header.scrolled {
        transform: translateY(0);
    }
}

/* --- VIDEO SECTION --- */
.video-section {
    padding: 80px 0;
    background: #020617;
    position: relative;
}

.video-section .section-title {
    color: white;
    margin-bottom: 40px;
}

.video-section .view-all-link {
    color: #94a3b8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.3);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    opacity: 0.9;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #f8fafc;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- NEWS SECTION --- */
.news-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-section .section-title {
    margin: 0;
}

.news-flex {
    display: flex;
    gap: 30px;
}

.news-featured {
    flex: 1.3;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.news-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.featured-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-featured:hover .featured-img img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.featured-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.featured-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.news-item:hover {
    background: var(--bg-gray);
    border-color: var(--primary-light);
    transform: translateX(5px);
}

.item-img {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.news-item:hover .item-img img {
    transform: scale(1.1);
}

.item-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@media (max-width: 991px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .news-flex {
        flex-direction: column;
    }

    .featured-content h3 {
        font-size: 1.4rem;
    }
}

/* --- SEARCH BOX BUTTON FIX --- */
.search-box button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
}

/* <-- FIXED MISSING CLOSING BRACE */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    padding: 5px 5px 5px 20px;
    flex: 1;
    margin: 0 40px;
    transition: border-color 0.3s;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    padding: 10px 10px 10px 0;
    font-size: 0.95rem;
    background: transparent;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: var(--text-gray);
}

.search-box button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.search-box button:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

/* --- ABOUT SECTION REDESIGN --- */
.about-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.about-intro .section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.2;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(51, 133, 255, 0.1);
    border: 1px solid rgba(51, 133, 255, 0.4);
    border-radius: 30px;
    color: #3385ff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(51, 133, 255, 0.2);
}

.tech-badge i {
    font-size: 1.2rem;
}

.about-text-content {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0;
}

.text-body p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.highlight-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.highlight-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.2);
}

.highlight-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    width: 100%;
}

.highlight-box i {
    font-size: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.highlight-box p {
    margin: 0;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 1.05rem;
}

.about-text-content .text-gradient {
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.15rem;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .about-text-content {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
    }

    .lead-text {
        font-size: 1.1rem;
    }
}

/* --- FLOATING CONTACT BUTTONS (RADIAL EXPANSION) --- */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.main-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-contact-btn:hover {
    transform: scale(1.1);
}

.floating-contact.active .main-contact-btn {
    transform: rotate(45deg);
    background: #f43f5e;
    box-shadow: 0 5px 15px rgba(244, 63, 94, 0.4);
}

.pulsate::before,
.pulsate::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
    z-index: -1;
    animation: pulse 2s infinite;
}

.pulsate::after {
    animation-delay: 1s;
}

.floating-contact.active .pulsate::before,
.floating-contact.active .pulsate::after {
    display: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.contact-sub-buttons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.floating-contact.active .contact-sub-buttons {
    pointer-events: auto;
}

.sub-btn {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: var(--bg-white);
    overflow: hidden;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: scale(0.5);
    z-index: 5;
}

/* Radial Directions */
.floating-contact.active .sub-btn.call {
    transform: translate(-80px, 0) scale(1);
    opacity: 1;
}

.floating-contact.active .sub-btn.zalo {
    transform: translate(-60px, -60px) scale(1);
    opacity: 1;
    transition-delay: 0.05s;
}

.floating-contact.active .sub-btn.mess {
    transform: translate(0, -80px) scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.sub-btn:hover {
    transform: scale(1.15) !important;
    z-index: 15;
}

.sub-btn img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.sub-btn i {
    font-size: 1.4rem;
}

.sub-btn.call {
    background: #10b981;
    color: white;
    border: none;
}

.sub-btn.zalo {
    background: var(--bg-white);
}

.sub-btn.zalo img {
    width: 100%;
    height: 100%;
}

.sub-btn.mess {
    background: var(--bg-white);
}

.sub-btn.mess img {
    width: 80%;
    height: 80%;
}

@media (max-width: 991px) {
    .floating-contact {
        bottom: 25px;
        right: 25px;
        width: 44px;
        height: 44px;
    }

    .main-contact-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .sub-btn {
        width: 44px;
        height: 44px;
    }

    .floating-contact.active .sub-btn.call {
        transform: translate(-70px, 0) scale(1);
    }

    .floating-contact.active .sub-btn.zalo {
        transform: translate(-50px, -50px) scale(1);
    }

    .floating-contact.active .sub-btn.mess {
        transform: translate(0, -70px) scale(1);
    }
}

/* --- BENTO TYPOGRAPHY OPTIMIZATION --- */
.bento-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.bento-title {
    font-size: 1.35rem !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.5px;
}

.bento-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
}

/* --- AUTO BACKGROUND REMOVAL FOR LOGOS --- */
.software-badge-icon, 
.spec-value img, 
.tech-float-item i, 
.brand-track, 
.mega-card img, 
.product-card img.brand-img {
    mix-blend-mode: multiply;
}

[data-theme="dark"] .spec-value img, 
[data-theme="dark"] .tech-float-item i, 
[data-theme="dark"] .brand-track, 
[data-theme="dark"] .mega-card img, 
[data-theme="dark"] .product-card img.brand-img {
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {

    /* 1. Header & Search Layout */
    .top-bar-container {
        flex-wrap: wrap;
        padding-bottom: 15px;
    }

    .logo {
        max-width: 240px;
    }

    .search-box {
        display: none !important;
        grid-column: 1 / span 3;
        grid-row: 2;
        width: 100%;
        margin: 10px 0 0 0;
    }
    
    .search-box.active {
        display: flex !important;
    }

    .search-box input {
        padding: 6px 35px 6px 12px;
        font-size: 0.85rem;
    }

    .search-box button {
        width: 28px;
        height: 28px;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
    }

    .search-box button i {
        font-size: 0.9rem;
    }

    .top-actions {
        grid-column: 3;
        grid-row: 1;
        gap: 10px !important;
    }

    .header-logo-img {
        height: 35px;
        width: auto;
    }

    /* Hide search box on mobile completely */

    /* 2. Hero Section (Sức Mạnh Điện Toán) */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem) !important;
        white-space: normal !important;
    }

    .hero-title span {
        white-space: normal !important;
    }

    .hero-3d {
        overflow: hidden;
        padding: 120px 0 40px;
    }

    .hero-3d-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .hero-head {
        order: 1;
        padding-bottom: 10px;
        text-align: center;
        align-self: stretch;
        /* reset from desktop grid 'end' */
        width: 100%;
    }

    .hero-image {
        order: 2;
        height: 300px;
        margin: 10px 0;
    }

    .hero-foot {
        order: 3;
        text-align: center;
        padding-top: 10px;
        align-self: stretch;
        /* reset from desktop grid 'end' */
        width: 100%;
        margin-bottom: 0;
    }

    .hero-cta {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }

    .hero-cta .btn-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-socials {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    /* Floating tech items - mobile: use dedicated scaled animation */
    @keyframes floatMobileItem1 {

        0%,
        100% {
            transform: scale(0.75) translateY(0px);
        }

        50% {
            transform: scale(0.75) translateY(-8px);
        }
    }

    @keyframes floatMobileItem2 {

        0%,
        100% {
            transform: scale(0.75) translateY(0px);
        }

        50% {
            transform: scale(0.75) translateY(-8px);
        }
    }

    .tech-float-item {
        display: flex;
        animation: none;
        /* reset desktop animation */
        transform: scale(0.75);
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .tech-item-1 {
        top: 6%;
        left: 4px;
        transform-origin: top left;
        animation: floatMobileItem1 5s ease-in-out infinite !important;
    }

    .tech-item-2 {
        bottom: 12%;
        right: 4px;
        transform-origin: bottom right;
        animation: floatMobileItem2 5s ease-in-out infinite 0.5s !important;
    }

    .energy-ring {
        display: none;
        /* hide on mobile - causes overflow */
    }

    .hero-image {
        order: 2;
        width: 100%;
        height: 380px;
        min-height: 380px;
        flex: 0 0 380px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 32px;
        overflow: hidden;
    }

    .hero-3d {
        overflow: hidden;
    }

    .hero-slider {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .hero-slide {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .floating-pc {
        display: block;
        max-width: 88%;
        max-height: 340px;
        width: auto;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
    }

    .hero-slide-dots {
        bottom: 6px;
    }

    /* 3. Product Slider Cards (Siêu Phẩm Công Nghệ) */
    .product-card {
        width: 100%;
        padding: 25px 15px 0;
        border-radius: 16px;
    }

    .card-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .card-actions .btn-pill {
        padding: 12px 5px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Disable reveal animation for slider cards so they show immediately */
    .product-grid .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* 4. Section Titles (Đối tác công nghệ) */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    /* 5. Footer Alignment (Từ danh mục chính trở xuống căn trái) */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .footer-col {
        text-align: left !important;
    }

    .footer-col h4 {
        text-align: left !important;
        margin-bottom: 15px;
    }

    .footer-links li {
        text-align: left !important;
    }

    .footer-col p,
    .footer-col .contact-item {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* 6. Bento Section Adjustments */
    .bento-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .bento-title {
        font-size: 1.2rem !important;
    }

    .bento-desc {
        font-size: 0.9rem !important;
    }
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.scroll-progress-container.active {
    opacity: 1;
    visibility: visible;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3385ff 0%, #3a7bd5 100%);
    width: 0%;
    transition: width 0.1s ease;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4);
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 991px) {
    /* Removed broken sidebar-header row-reverse */

    .hero-3d {
        padding-top: 30px !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0 !important;
    }

    .top-bar-container {
        padding-bottom: 0 !important;
    }

    .highlight-box {
        justify-content: flex-start !important;
        padding: 15px !important;
    }

    .highlight-box p {
        font-size: 0.9rem !important;
        text-align: left !important;
    }

    .footer-col {
        align-items: flex-start !important;
    }

    .footer-col:first-child {
        align-items: center !important;
    }

    .footer-col:first-child .footer-desc {
        text-align: center !important;
    }

    .footer-col:first-child .footer-socials {
        justify-content: center !important;
    }

    .footer-col ul {
        text-align: left !important;
        width: 100%;
    }

    .footer-company-info .company-details .detail-item {
        justify-content: flex-start !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .card-actions .btn-pill {
        padding: 8px 5px !important;
        font-size: 0.75rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .tech-specs-section {
        padding: 35px 0 35px !important;
    }

    .spec-item {
        padding: 16px 28px !important;
        gap: 16px !important;
    }

    .spec-item .spec-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .spec-item .spec-name {
        font-size: 0.95rem !important;
    }

    .spec-item .spec-value {
        font-size: 0.9rem !important;
    }

    /* Benefit cards spacing from hero socials */
    .benefits-section {
        margin-top: 10px;
        padding-bottom: 40px;
    }

    .benefit-card h4 {
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .mobile-nav .nav-item.open .dropdown-menu {
        width: 80%;
    }

    .benefit-card {
        margin-bottom: 0;
    }

}

/* ============================================
   HERO PRODUCT SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.94) translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Slide dots */
.hero-slide-dots {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.h-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none;
}

.h-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #2563eb;
}

/* Floating item transitions */
.tech-float-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tech-float-item.float-exit {
    opacity: 0;
    transform: scale(0.85) translateY(-10px) !important;
}

.tech-float-item.float-enter {
    animation: floatEnter 0.5s ease forwards;
}

@keyframes floatEnter {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ============================================
   TECH SPECS TICKER SECTION
   ============================================ */
.tech-specs-section {
    padding: 20px 0 30px;
    background: var(--bg-gray);
    overflow: hidden;
    position: relative;
}

/* Ticker wrapper with fade edges */
.specs-ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: default;
}

.specs-ticker-wrapper::before,
.specs-ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.specs-ticker-wrapper::before {
    left: 0;
    background: var(--bg-gray);
}

.specs-ticker-wrapper::after {
    right: 0;
    background: var(--bg-gray);
}

/* Animate the track */
.specs-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: specsTicker 35s linear infinite;
    will-change: transform;
}

.specs-ticker-wrapper:hover .specs-ticker-track {
    animation-play-state: paused;
}

@keyframes specsTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual spec items */
.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-right: 1.5px solid rgba(100, 120, 180, 0.15);
    white-space: nowrap;
    transition: background 0.25s;
    flex-shrink: 0;
}

.spec-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
}

.spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb15, #6366f115);
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    flex-shrink: 0;
}

.spec-icon i {
    font-size: 1rem;
    color: #2563eb;
}

.spec-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.spec-value {
    font-size: 0.83rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-left: 2px;
}

/* ============================================
   TECH STATS COUNTER SECTION
   ============================================ */
.stats-section {
    padding: 70px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 16px;
    display: block;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2563eb;
    display: inline;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 10px 0 16px;
    letter-spacing: 0.03em;
}

.stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    animation: growBar 1.8s ease forwards;
}

@keyframes growBar {
    from {
        width: 0;
    }
}

/* ============================================
   PERFORMANCE BENCHMARK SECTION
   ============================================ */
.benchmark-section {
    padding: 80px 0;
    background: var(--bg-gray);
    position: relative;
}

.benchmark-header {
    text-align: center;
    margin-bottom: 50px;
}

.bench-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.bench-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 8px;
}

.benchmark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.bench-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bench-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bench-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.bench-name i {
    color: #2563eb;
}

.bench-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
}

.bench-track {
    height: 10px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.bench-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 10px;
    transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bench-fill.gold {
    background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.bench-fill.green {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.bench-score.text-green {
    color: #10b981;
}

/* Terminal Box */
.terminal-col {}

.terminal-box {
    background: #0d1117;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
    font-family: 'Fira Mono', 'Courier New', monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.t-dot.red {
    background: #ff5f57;
}

.t-dot.yellow {
    background: #febc2e;
}

.t-dot.green {
    background: #28c840;
}

.t-title {
    font-size: 0.78rem;
    color: #8b949e;
    margin-left: 6px;
}

.terminal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow-y: auto;
}

.t-line {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #c9d1d9;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.t-line.visible {
    opacity: 1;
    transform: translateX(0);
}

.t-prompt {
    color: #58a6ff;
    font-weight: 700;
    margin-right: 4px;
}

.t-cmd {
    color: #e2e8f0;
}

.t-out {
    color: #8b949e;
}

.t-success {
    color: #3fb950;
}

.t-warn {
    color: #d29922;
}

.t-blink {
    color: #e2e8f0;
}

.t-cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: #58a6ff;
}

.t-highlight {
    color: #ffd700;
    font-weight: 700;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ============================================
   AI LIVE FEED SECTION
   ============================================ */
.ai-feed-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0f1e 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.ai-feed-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ai-feed-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    gap: 8px;
}

.ai-pulse-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.05);
    }
}

.ai-feed-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ai-feed-sub {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.ai-feed-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Activity Feed */
.ai-activity-feed {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.feed-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feed-list {
    padding: 8px 0;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 2s infinite;
}

.feed-dot.green {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.feed-dot.blue {
    background: #60a5fa;
    box-shadow: 0 0 6px rgba(96, 165, 250, 0.5);
}

.feed-dot.yellow {
    background: #fbbf24;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.feed-text {
    font-size: 0.83rem;
    color: #94a3b8;
    flex: 1;
    line-height: 1.5;
}

.feed-text b {
    color: #e2e8f0;
}

.feed-time {
    font-size: 0.75rem;
    color: var(--text-gray);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Metric Cards */
.ai-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(37, 99, 235, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #818cf8;
    flex-shrink: 0;
}

.metric-title {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.metric-value span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray);
}

/* Circular ring indicator (CSS only) */
.metric-ring {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: conic-gradient(#6366f1 calc(var(--pct) * 1%),
            rgba(255, 255, 255, 0.06) 0%);
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE — NEW TECH SECTIONS
   ============================================ */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benchmark-grid {
        grid-template-columns: 1fr;
    }

    .ai-feed-grid {
        grid-template-columns: 1fr;
    }

    .ai-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   THEME TOGGLE BUTTON
   ========================================= */
.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.toggle-track {
    width: 50px;
    height: 26px;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    padding: 2px;
}

[data-theme="dark"] .toggle-track {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(51, 133, 255, 0.3);
}

.toggle-thumb {
    width: 20px;
    height: 20px;
    background: var(--bg-white);
    border-radius: 50%;
    position: absolute;
    left: 2px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .toggle-thumb {
    transform: translateX(24px);
    background: var(--primary);
}

.toggle-thumb i {
    font-size: 12px;
    position: absolute;
    transition: opacity 0.3s, transform 0.4s;
}

.icon-sun {
    color: #f59e0b;
    opacity: 1;
    transform: rotate(0deg);
}

.icon-moon {
    color: white;
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .icon-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ============================================
   TECH ANIMATIONS & CYBER EFFECTS
   ============================================ */

/* 1. 3D Tilt & Glare */
.glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-card,
.bento-box {
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* 2. Magnetic Buttons */
.hero-cta .btn-pill,
.social-btn {
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s, box-shadow 0.3s;
}

/* 3. Cyber Grid */
.cyber-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(51, 133, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(51, 133, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3);
    transform-origin: bottom;
    animation: grid-move 5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes grid-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 50px;
    }
}

[data-theme="dark"] .cyber-grid {
    background-image:
        linear-gradient(to right, rgba(51, 133, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(51, 133, 255, 0.1) 1px, transparent 1px);
}

/* 4. Cyber Glitch Text */
.cyber-glitch {
    position: relative;
    display: inline-block;
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    pointer-events: none;
}

.cyber-glitch:hover::before {
    animation: glitch-anim-1 0.3s infinite linear alternate-reverse;
    left: -2px;
    color: #3385ff;
    opacity: 0.8;
}

.cyber-glitch:hover::after {
    animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
    left: 2px;
    color: #f43f5e;
    opacity: 0.8;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
    }

    100% {
        clip-path: inset(30% 0 20% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
    }

    100% {
        clip-path: inset(5% 0 80% 0);
    }
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* PERFORMANCE OPTIMIZATIONS */
.product-card,
.bento-box,
.hero-cta .btn-pill,
.social-btn {
    will-change: transform;
}

@media (max-width: 768px) {
    .cyber-grid {
        animation: none !important;
    }
}


/* ============================================
   PERFORMANCE OPTIMIZATION
   ============================================ */
.footer,
.blog-section,
.video-section,
.brand-slider {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* --- WARRANTY MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.warranty-modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .warranty-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.modal-close:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #ef4444;
    font-weight: 600;
    font-size: 0.95rem;
}

.modal-body-scroll {
    padding: 30px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.modal-body-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-body-scroll::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

.warranty-modal-content {
    background: var(--bg-gray) !important;
}

.modal-header {
    background: var(--bg-white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.warranty-block {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    transition: 0.3s;
}

.warranty-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(0, 51, 102, 0.2);
}

.warranty-block h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border-color);
    width: 100%;
}

.warranty-block h3 i {
    font-size: 1.8rem;
    background: var(--bg-gray);
    padding: 12px;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.warranty-block ul {
    list-style: none;
    padding-left: 0;
}

.warranty-block ul li {
    position: relative;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
    padding-left: 35px;
    font-weight: 500;
    font-size: 1.05rem;
}

.warranty-block ul>li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-weight: 900;
    font-size: 0.9rem;
    background: rgba(0, 51, 102, 0.1);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.warranty-block:nth-child(3) ul>li::before {
    content: "\2715";
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.warranty-block ul ul {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 0;
    background: var(--bg-gray);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.warranty-block ul ul li {
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.warranty-block ul ul li:last-child {
    margin-bottom: 0;
}

.warranty-block ul ul li::before {
    content: "\2023";
    background: none;
    color: var(--primary);
    font-size: 1.5rem;
    top: -4px;
    width: auto;
    height: auto;
}

.note-block {
    background: rgba(59, 130, 246, 0.05);
    border: 1px dashed rgba(59, 130, 246, 0.3);
    padding: 20px;
    border-radius: var(--radius-md);
}

.note-block p {
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.note-block p:last-child {
    margin-bottom: 0;
}

.warranty-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}

.contact-item.fb {
    color: #1877f2;
}

.contact-item.zalo {
    color: #0068ff;
}

.contact-item.phone {
    color: #10b981;
}

.contact-item[href]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: currentColor;
}

@media (max-width: 768px) {
    .modal-header h2 {
        font-size: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .modal-body-scroll {
        padding: 20px;
    }

    .modal-header {
        padding: 20px;
    }
}

/* Header Callout Pill */
.header-callout-pill {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-white);
    padding: 12px 25px;
    border-radius: 9999px;
    border: 1px dashed var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    max-width: 500px;
    text-align: left;
}

.header-callout-pill .callout-icon {
    background: rgba(0, 51, 102, 0.08);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-callout-pill .callout-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.header-callout-pill p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.header-callout-pill strong {
    color: var(--primary);
    font-weight: 800;
}

/* --- CUSTOMER GRID --- */
.customer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .specs-ticker-wrapper::before {
        left: 0;
        background: transparent
    }

    .specs-ticker-wrapper::after {
        right: 0;
        background: transparent
    }

    .customer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* --- DARK MODE OVERRIDES --- */
[data-theme="dark"] .cat-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .cat-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cat-card img {
    filter: brightness(2) drop-shadow(0 4px 6px rgba(255, 255, 255, 0.1));
}

[data-theme="dark"] .cat-card span {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .bench-name {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .bench-name i {
    color: var(--primary-light);
    filter: drop-shadow(0 0 8px rgba(102, 163, 255, 0.6));
}

[data-theme="dark"] .cta-neon-box .btn-white {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(51, 133, 255, 0.4);
}

[data-theme="dark"] .cta-neon-box .btn-white:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* TESTIMONIAL SECTION - REBORN SLIDER */
.testimonial-section {
    padding: 80px 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.testi-section-header-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.testi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.testi-badge i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.testi-section-header-v2 .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.2;
}

.testi-section-header-v2 .section-title span {
    color: var(--primary);
}

.testi-section-header-v2 .testi-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

[data-theme="dark"] .testi-section-header-v2 .section-title {
    color: #f8fafc;
}

[data-theme="dark"] .testi-badge {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
}

.testimonial-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 10px 50px 10px;
    /* Add padding to prevent hover clipping */
    margin: -20px -10px 0 -10px;
    /* Compensate for the padding */
}

.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.testi-quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(51, 133, 255, 0.08);
    line-height: 1;
}

.testi-body {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f7ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.testi-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.testi-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.testi-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(51, 133, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.testi-dot:hover {
    background: rgba(51, 133, 255, 0.5);
}

.testi-dot.active {
    width: 30px;
    background: var(--primary);
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testi-section-header-v2 .section-title {
        font-size: 2rem;
    }

    .testi-section-header-v2 .testi-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }
}

[data-theme="dark"] .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .testi-body,
[data-theme="dark"] .testi-info h4 {
    color: #e2e8f0;
}

/* --- SOFTWARE BADGE ICONS --- */
.software-badge-icon {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.software-badge-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .software-badge-icon {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* --- SAPO OVERRIDES & RESETS --- */
/* Hide default Sapo floating widgets when viewing this landing page */
.fix-phone,
.isocial_bubble.position-fixed,
.isocial_bubble,
.zalo-chat-widget {
    display: none !important;
}

/* Hide Sapo's default footer and brand slider at the bottom of the page */
footer.bg-white.pt-5,
section.brand-slider:not(#brands) {
    display: none !important;
}

/* FALLBACK: If Sapo's default page template is still used, aggressively hide its wrappers */
.breadcrumbs,
.com_info .page-title h1,
h1.page_name,
.breadcrumb {
    display: none !important;
}

.com_info .page-title {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.com_info .container,
.contentWarp .container {
    max-width: 100% !important;
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================================================== */
/* MASTER SAPO ESCAPE MODAL */
/* ================================================== */
#nava-master-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: var(--bg-gray) !important;
    z-index: 2147483647 !important;
    /* Maximum z-index to cover EVERYTHING */
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
    isolation: isolate;
    /* Create new stacking context */
}

/* Hide scrollbar for Sapo's body since our wrapper scrolls */
body:has(#nava-master-wrapper) {
    overflow: hidden !important;
}

/* Hide scrollbar on mobile */
@media (max-width: 991px) {
    ::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* ========================================= */
/* 15. CART DRAWER & BADGE                   */
/* ========================================= */
.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
    z-index: 2;
}

.header.scrolled .cart-count-badge {
    border-color: var(--header-bg);
}

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 100vw;
    height: 100%;
    background: var(--bg-white);
    z-index: 10001;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-drawer.active {
    right: 0;
}

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

.cart-drawer-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn:hover {
    color: #ef4444;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.cart-drawer-body::-webkit-scrollbar {
    width: 6px;
}

.cart-drawer-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.cart-empty-state {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.cart-empty-state p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.cart-loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.cart-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(var(--primary-rgb), 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.cart-qty {
    font-size: 0.85rem;
    color: var(--text-gray);
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 500;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.cart-total strong {
    color: var(--primary);
    font-size: 1.3rem;
}

.cart-checkout-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* TASK 1: Khám phá scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

.mouse-icon {
    width: 24px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* TASK 1: Benefit slider */
.hero-benefits-slider {
    position: relative;
    height: 90px;
    margin-top: 40px;
    width: 100%;
    max-width: 530px;
    /* Rộng bằng chữ SỨC MẠNH ĐIỆN TOÁN */
}

@media (max-width: 991px) {
    .hero-benefits-slider {
        margin-top: 10px;
        margin-bottom: 60px;
        height: 75px;
    }

    .floating-social-wrapper {
        bottom: -230px !important;
    }

    .benefit-pair {
        gap: 8px;
    }

    .benefit-card-mini {
        padding: 10px 8px !important;
        gap: 8px !important;
        flex-direction: row !important;
        text-align: left !important;
        align-items: center !important;
    }

    .benefit-card-mini h4 {
        font-size: 0.6rem !important;
        white-space: normal !important;
    }

    .benefit-card-mini p {
        font-size: 0.5rem !important;
        white-space: normal !important;
    }

    .b-icon-mini {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
    }
}

.benefit-pair {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.benefit-pair.bp-active {
    opacity: 1;
    visibility: visible;
}

.benefit-card-mini {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 15px;
    background: var(--bg-white);
    padding: 5px 10px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.b-icon-mini {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(0, 51, 102, 0.05);
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 0;
}

.benefit-card-mini h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
}

.benefit-card-mini p {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

/* TASK 2: FAB Menu */
.floating-social-wrapper {
    position: fixed;
    /* top: 50%; */
    transform: translateY(-50%);
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.fab-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fab-main:hover {
    transform: scale(1.1);
    background: var(--primary-light);
}

.fab-cycle-img {
    position: absolute;
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-cycle-img.active {
    opacity: 1;
    transform: scale(1);
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.fab-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fab-item:hover {
    transform: scale(1.1) translateX(-5px);
}

/* TASK 3: Drop Mini PC logo center */
.mini-pc-menu .mega-card {
    justify-content: center;
}

.mini-pc-menu .mega-card img {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

/* TASK 4: Products */
.product-card .card-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.product-card .card-actions a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.product-card:hover .card-actions {
    /* No hover transform needed */
}

.product-card .card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0 !important;
    height: 41px; /* Chiều cao 2 dòng */
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    margin-bottom: 30px; /* Bù đắp không gian để tổng cộng bằng 3 dòng */
}

.product-card:hover .card-desc {
    -webkit-line-clamp: 3;
    height: 61px; /* Chiều cao 3 dòng */
    margin-bottom: 10px; /* Giảm margin bù đắp */
}


/* TASK 2: FAB Menu (Restored) */
.floating-social-wrapper {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.fab-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.fab-cycle-img {
    position: absolute;
    width: 35px;
    height: 35px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-cycle-img.active {
    opacity: 1;
    transform: scale(1);
}

.fab-menu {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.fab-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

.fab-item:hover {
    transform: scale(1.1);
}

/* Shopee Reviews Styles */
.shopee-product {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-gray);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.shopee-product img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.sp-info {
    display: flex;
    flex-direction: column;
}

.sp-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.sp-model {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.shopee-reply {
    background: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary);
    padding: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.shopee-reply strong {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
}

.shopee-default-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

[data-theme="dark"] .shopee-product {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sp-name {
    color: #e2e8f0;
}

[data-theme="dark"] .sp-model {
    color: #94a3b8;
}

[data-theme="dark"] .shopee-reply {
    color: #cbd5e1;
}

/* --- SHOPEE REVIEWS SECTION --- */
.shopee-reviews-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.shopee-comments-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.shopee-comment-item {
    display: flex;
    gap: 15px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.shopee-comment-item:last-child {
    border-bottom: none;
}

.sc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sc-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.sc-content {
    flex: 1;
}

.sc-username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.sc-stars {
    color: #ee4d2d;
    font-size: 0.8rem;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.sc-meta {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.sc-reply-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.sc-reply-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.sc-reply-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.sc-product-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 8px;
    border-radius: 4px;
    max-width: 450px;
    margin-bottom: 12px;
}

.sc-product-card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.sc-product-info {
    display: flex;
    flex-direction: column;
}

.sc-product-name {
    font-size: 0.85rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc-product-variant {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.sc-helpful {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.sc-helpful i {
    font-size: 1.1rem;
}

[data-theme="dark"] .shopee-reviews-section {
    background: #0f172a;
}

[data-theme="dark"] .shopee-comment-item {
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sc-avatar {
    background: #1e293b;
    color: #475569;
}

[data-theme="dark"] .sc-reply-box,
[data-theme="dark"] .sc-product-card {
    background: #1e293b;
}

[data-theme="dark"] .sc-product-card img {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .sc-username,
[data-theme="dark"] .sc-reply-title,
[data-theme="dark"] .sc-product-name,
[data-theme="dark"] .sc-reply-text {
    color: #e2e8f0;
}

[data-theme="dark"] .shopee-reviews-section {
    background: #0f172a;
}

[data-theme="dark"] .shopee-comment-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sc-product {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .sc-reply {
    color: #cbd5e1;
}

[data-theme="dark"] .sc-p-name,
[data-theme="dark"] .sc-default {
    color: #e2e8f0;
}

/* --- NAVA REVIEWS SECTION --- */
.shopee-reviews-section {
    padding: 100px 0;
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow behind the reviews section */
.shopee-reviews-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 51, 102, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Rating Summary: 2 Cards Layout */
.shopee-rating-summary {
    width: 100%;
    margin: 0 auto 50px auto;
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.sr-overview-card,
.sr-bars-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.sr-overview-card {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sr-bars-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sr-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.sr-bars-card .sr-card-title {
    text-align: left;
    margin-bottom: 25px;
}

.sr-score {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.sr-stars {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.sr-total {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    font-style: italic;
}

.sr-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sr-bar-row {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.sr-star-label {
    min-width: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sr-star-label i {
    color: #f59e0b;
}

.sr-progress {
    flex: 1;
    height: 10px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.sr-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 76, 153, 0.4);
}

.sr-count {
    min-width: 50px;
    text-align: right;
    color: var(--text-gray);
    font-variant-numeric: tabular-nums;
}

/* Comments List: Fullwidth */
.shopee-comments-list {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.shopee-comment-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px 40px;
    border: 1px solid rgba(0, 51, 102, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 25px;
    transition: all 0.3s ease;
    width: 100%;
}

.shopee-comment-item:hover {
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.06);
    transform: translateY(-2px);
    border-color: rgba(0, 51, 102, 0.1);
}

.sc-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(0, 51, 102, 0.2);
}

.sc-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.sc-content {
    flex: 1;
}

.sc-username {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.sc-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.sc-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 18px;
    font-weight: 500;
}

.sc-reply-box {
    background: rgba(0, 51, 102, 0.02);
    border-left: 3px solid var(--primary);
    padding: 18px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 18px;
    max-width: 90%;
}

.sc-reply-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sc-reply-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.sc-product-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-white);
    padding: 12px;
    border-radius: var(--radius-md);
    max-width: 500px;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.sc-product-card img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
}

.sc-product-info {
    display: flex;
    flex-direction: column;
}

.sc-product-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc-product-variant {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .shopee-rating-summary {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .sr-overview-card,
    .sr-distribution-card {
        padding: 20px;
        flex: auto;
    }

    .sr-score {
        font-size: 3.5rem;
    }

    .sr-stars i {
        font-size: 1.4rem;
    }

    .sr-card-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .sr-bar-row {
        margin-bottom: 10px;
    }

    .sr-progress {
        height: 6px;
    }

    .shopee-comment-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .sc-reply-box {
        max-width: 100%;
    }
}

/* Dark Theme Overrides */
[data-theme="dark"] .shopee-reviews-section {
    background: #0b1120;
}

[data-theme="dark"] .shopee-reviews-section::before {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

[data-theme="dark"] .sr-overview-card,
[data-theme="dark"] .sr-bars-card,
[data-theme="dark"] .shopee-comment-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .sr-card-title {
    color: #94a3b8;
}

[data-theme="dark"] .sr-score {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
}

[data-theme="dark"] .sr-progress {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .sr-bar-row {
    color: #cbd5e1;
}

[data-theme="dark"] .sr-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .sc-avatar {
    border-color: #1e293b;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

[data-theme="dark"] .sc-reply-box {
    background: rgba(255, 255, 255, 0.02);
    border-left-color: #3b82f6;
}

[data-theme="dark"] .sc-product-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sc-username,
[data-theme="dark"] .sc-product-name,
[data-theme="dark"] .sc-reply-text {
    color: #f8fafc;
}

[data-theme="dark"] .sc-reply-title {
    color: #60a5fa;
}

/* --- FIX WIDTH --- */
.shopee-comments-list {
    max-width: 100% !important;
}

.shopee-rating-summary {
    max-width: 100% !important;
}

/* --- CYBER CIRCUIT GRID BACKGROUND --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    pointer-events: none;
    opacity: 0.025;
    /* R?t m?, tr?u tu?ng */
    /* SVG M?ch di?n t? (Circuit Board Pattern) */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h20v20H10zM70 70h20v20H70zM30 20h40M20 30v40M80 30v40M30 80h40' stroke='%233385ff' stroke-width='1' fill='none' stroke-opacity='0.8'/%3E%3Ccircle cx='30' cy='20' r='3' fill='%233385ff'/%3E%3Ccircle cx='70' cy='20' r='3' fill='%233385ff'/%3E%3Ccircle cx='20' cy='30' r='3' fill='%233385ff'/%3E%3Ccircle cx='20' cy='70' r='3' fill='%233385ff'/%3E%3Ccircle cx='80' cy='30' r='3' fill='%233385ff'/%3E%3Ccircle cx='80' cy='70' r='3' fill='%233385ff'/%3E%3Ccircle cx='30' cy='80' r='3' fill='%233385ff'/%3E%3Ccircle cx='70' cy='80' r='3' fill='%233385ff'/%3E%3Cpath d='M0 50h20M80 50h20M50 0v20M50 80v20' stroke='%233385ff' stroke-width='1' stroke-opacity='0.4'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    transition: opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

[data-theme="dark"] body::before {
    opacity: 0.05;
    /* T?i th� s�ng hon t� d? d? th?y */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h20v20H10zM70 70h20v20H70zM30 20h40M20 30v40M80 30v40M30 80h40' stroke='%23ffffff' stroke-width='1' fill='none' stroke-opacity='0.8'/%3E%3Ccircle cx='30' cy='20' r='3' fill='%23ffffff'/%3E%3Ccircle cx='70' cy='20' r='3' fill='%23ffffff'/%3E%3Ccircle cx='20' cy='30' r='3' fill='%23ffffff'/%3E%3Ccircle cx='20' cy='70' r='3' fill='%23ffffff'/%3E%3Ccircle cx='80' cy='30' r='3' fill='%23ffffff'/%3E%3Ccircle cx='80' cy='70' r='3' fill='%23ffffff'/%3E%3Ccircle cx='30' cy='80' r='3' fill='%23ffffff'/%3E%3Ccircle cx='70' cy='80' r='3' fill='%23ffffff'/%3E%3Cpath d='M0 50h20M80 50h20M50 0v20M50 80v20' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.4'/%3E%3C/svg%3E");
}

/* --- WARRANTY SECTION MOBILE FIX --- */
@media (max-width: 768px) {
    .warranty-section {
        padding: 40px 15px !important;
    }

    .warranty-card {
        padding: 30px 15px !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .warranty-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .warranty-content h2.section-title {
        text-align: center !important;
    }

    .warranty-content p {
        text-align: center !important;
        font-size: 1rem !important;
    }
}

/* --- PERFORMANCE: DISABLE HEAVY EFFECTS ON MOBILE --- */
@media (max-width: 768px) {
    * {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    img {
        filter: none !important;
    }
}













[data-theme="dark"] .software-badge-icon {
    mix-blend-mode: normal;
    filter: none;
}



