:root {
    --reno-red: #ef4444;
    --reno-green: #86efac;
    --reno-dark: #111827;
}

/* 1. Base (Reset) - Giữ nguyên */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}
a {
    color: inherit;
    text-decoration: inherit;
}
button {
    padding: 0;
    line-height: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}
img, svg {
    display: block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* 2. Lớp (Classes) đã biên dịch - Giữ nguyên */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }

.inset-0 { inset: 0px; }
.top-3 { top: 0.75rem; }
.right-3 { right: 0.75rem; }
.bottom-10 { bottom: 2.5rem; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

.m-0 { margin: 0px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.h-2 { height: 0.5rem; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.h-screen { height: 100vh; }
.w-screen { width: 100vw; }

.max-w-sm { max-width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

.transform { transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.cursor-pointer { cursor: pointer; }
.appearance-none { -webkit-appearance: none; appearance: none; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-right: 0px; margin-left: 1.5rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; margin-bottom: 0px; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; margin-bottom: 0px; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; margin-bottom: 0px; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; margin-bottom: 0px; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; margin-bottom: 0px; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; }
.border-purple-500 { border-color: #a855f7; }
.border-theme-green\\/50 { border-color: rgba(182, 240, 200, 0.5); }
.border-red-400\\/50 { border-color: rgba(248, 113, 113, 0.5); }

.bg-black { background-color: rgb(0 0 0); }
.bg-white { background-color: rgb(255 255 255); }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-gray-700 { background-color: rgb(55 65 81); }
.bg-gray-800 { background-color: rgb(31 41 55); }
.bg-gray-800\\/50 { background-color: rgba(31, 41, 55, 0.5); }
.bg-reno-dark\\/30 { background-color: rgba(17, 24, 39, 0.3); }

.bg-opacity-70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-opacity-75 { background-color: rgba(0, 0, 0, 0.75); }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.from-purple-800 { --tw-gradient-from: #581c87; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(88, 28, 135, 0)); }
.to-green-800 { --tw-gradient-to: #166534; }
.from-purple-500 { --tw-gradient-from: #a855f7; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0)); }
.to-green-500 { --tw-gradient-to: #22c55e; }
.from-purple-400 { --tw-gradient-from: #c084fc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0)); }
.to-green-400 { --tw-gradient-to: #4ade80; }

.bg-theme-purple\\/80 { background-color: rgba(200, 162, 255, 0.8); }

.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pt-4 { padding-top: 1rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-white { color: rgb(255 255 255); }
.text-gray-200 { color: rgb(229 231 235); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-purple-700 { color: rgb(126 34 206); }
.text-green-700 { color: rgb(21 128 61); }
.text-green-300 { color: rgb(134 239 172); }
.text-purple-300 { color: rgb(216 180 254); }
.text-blue-300 { color: rgb(147 197 253); }
.text-yellow-400 { color: rgb(250 204 21); }
.text-red-400 { color: rgb(248 113 113); }

.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }

.hover\\:scale-105:hover { transform: scale(1.05); }
.hover\\:bg-white:hover { background-color: rgb(255 255 255); }
.hover\\:bg-theme-purple:hover { background-color: var(--reno-purple); }
.hover\\:text-theme-green:hover { color: #b6f0c8; }
.hover\\:text-red-400:hover { color: #ef4444; }

.disabled\\:opacity-50:disabled { opacity: 0.5; }
.disabled\\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* === NỀN CHUNG & TỔNG THỂ - Giữ nguyên === */
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #4b5563 0%, #1f2937 50%, #111827 100%);
    color: #f0f0f0;
    overflow-x: hidden;
    max-width: 100vw; 
}

/* Bỏ lớp padding mobile cũ đi, thay bằng CSS Desktop ở dưới */
.mobile-section-padding { padding: 0; }
.mobile-section-padding-tighter { padding: 0; }

/* === BOX 0: MODAL POPUP - Giữ nguyên === */
#feature-modal { display: none; z-index: 950; }

/* === BOX 1: HERO IMAGE (9:16) - Giữ nguyên === */
#box-1 {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
#hero-image-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #111827;
}
#hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.arrow-down {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* === BOX 3: SWIPER - Giữ nguyên === */
.swiper-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-button-next, .swiper-button-prev {
    color: #ef4444 !important; 
    transform: scale(0.7);
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 10px;
    display: flex;
}
.swiper-pagination-bullet-active {
    background: #a0e9a0 !important;
}
.comparison-table {
    margin-top: 1.5rem;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}
.comparison-table caption {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}
.comparison-table th, .comparison-table td {
    border: 1px solid #555;
    padding: 8px;
    text-align: left;
}
.comparison-table th { background-color: #ef4444; }
.comparison-table tbody tr {
    background-color: rgba(255, 255, 255, 0.05);
}
.comparison-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* === BOX 4: MÀN HÌNH - Giữ nguyên === */
#spec-modal {
    transition: opacity 0.25s ease;
    z-index: 960;
    display: none;
}
#simulated-screen {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #000;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 4px solid #4b5563;
}
#simulated-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
#brightness-slider {
    accent-color: #ef4444;
}


/* === BOX 5: QUIZ CARD - Giữ nguyên === */
#box-5 .quiz-card {
    perspective: 1000px;
    cursor: pointer;
    width: 100%;
    min-height: 18rem; 
    height: auto;
}
.quiz-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.7s;
    transform-style: preserve-3d;
    display: grid;
}
.quiz-card.is-flipped .quiz-card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    width: 100%;
    min-height: 18rem;
    height: auto; 
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    grid-area: 1 / 1;
}
.card-front { background-color: #4f46e5; }
.card-back {
    background-color: #10b981;
    transform: rotateY(180deg);
}
.quiz-answers { list-style: none; padding: 0; width: 100%; text-align: left; }
.quiz-answers li {
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    position: relative;
}
.quiz-answers li:hover { background-color: rgba(255, 255, 255, 1); }
.quiz-card.answered .quiz-answers li { pointer-events: none; opacity: 0.7; }
.quiz-answers li.correct { 
    background-color: #22c55e; 
    opacity: 1; 
    color: white;
}
.quiz-answers li.incorrect { 
    background-color: #ef4444; 
    opacity: 1; 
    color: white;
}
.quiz-answers li::after {
    content: ''; display: inline-block; width: 16px; height: 16px;
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    opacity: 0; transition: opacity 0.2s;
}
.quiz-answers li.correct::after { content: '✔'; color: white; font-weight: bold; opacity: 1; }
.quiz-answers li.incorrect::after { content: '✖'; color: white; font-weight: bold; opacity: 1; }

#box-5 .quiz-explanation {
    display: none;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    font-weight: normal;
}
#box-5 .quiz-card.answered .quiz-explanation {
    display: block;
}


/* === BOX 6: BEFORE/AFTER - Giữ nguyên === */
#box-6 .quiz-card {
     aspect-ratio: 1 / 1;
     height: auto;
}
#box-6 .card-front img,
#box-6 .card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    position: absolute;
}
#box-6 .card-front,
#box-6 .card-back {
    padding: 0;
}
.flip-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}


/* === BOX 7: SẠC NHANH ANIMATION - Giữ nguyên === */
#box-7 {
    margin-top: 1.5rem;
}
#charging-animation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 250px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 1rem;
    overflow: hidden;
    position: relative;
}
.charging-phone {
    width: 100px;
    height: 200px;
    border: 4px solid #ccc;
    border-radius: 15px;
    background: #333;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-right: 1rem;
}
.charging-battery {
    width: 80px;
    height: 180px;
    background: #111;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.charging-source-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}
.charging-source { text-align: center; }
.charging-source svg {
    width: 40px;
    height: 40px;
    fill: #a0e9a0;
    margin-bottom: 0.25rem;
}

#charge-button {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}
#charge-button:hover {
    background: #f87171;
}
#charge-button.charging {
    opacity: 0.5;
    pointer-events: none;
}

.charging-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #86efac, #ef4444);
    transition: height 8s linear;
}

.charging-text-final {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%; 
    transform: translateY(-50%);
    text-align: center; 
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s;
    white-space: normal;
}

.charging-flow {
    position: absolute;
    width: 25px;
    height: 5px;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
}

.charging-flow .dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #a0e9a0;
    border-radius: 50%;
    opacity: 0;
    animation: flowRight 1.5s infinite linear;
    animation-play-state: paused;
}
.charging-flow .dot:nth-child(2) { animation-delay: 0.5s; }
.charging-flow .dot:nth-child(3) { animation-delay: 1s; }

@keyframes flowRight {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(25px); opacity: 0; }
}


/* === BOX 8: HAO PIN CHART - Giữ nguyên === */
#container-wrapper {
    position: relative;
    width: 100%;
    height: 24rem;
    background-color: transparent; 
    border-radius: 8px;
}
#chart-container-new {
    width: 100%;
    height: 100%;
}
#timer-display {
    background-color: rgba(31, 41, 55, 0.8);
    color: #f0f0f0;
    font-size: 1.1rem;
}
#button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    background-color: rgba(31, 41, 55, 0.5);
    border-radius: 8px; 
}
#start-button {
    background-color: #86efac;
    color: #111827;
    font-weight: bold;
}

#battery-modal {
    display: none;
    position: fixed;
    z-index: 980; left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}
.battery-modal-content {
    background-color: #2b164a;
    /* Căn giữa modal tốt hơn trên desktop */
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #A4F0D1;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
}
.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px; right: 20px;
    font-size: 28px; font-weight: bold;
    cursor: pointer;
}

/* === BOX 9: PERFORMANCE - Giữ nguyên === */
#box-9 {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
#run-benchmark {
     padding: 12px 25px;
     font-size: 1rem;
     font-weight: bold;
     color: #1a0b2e;
     background-color: #A4F0D1;
     border: none;
     border-radius: 25px;
     cursor: pointer;
     transition: all 0.3s ease;
}
#run-benchmark:hover {
     background-color: #ffffff;
     transform: scale(1.05);
}
#run-benchmark:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#score-display {
    font-size: 3.5rem;
    font-weight: bold;
    color: #A4F0D1;
    margin-top: 1rem;
    opacity: 1;
}
table.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}
.spec-table th, .spec-table td {
    padding: 10px 12px;
    text-align: left;
    font-size: 0.9rem;
}
.spec-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}
.spec-table th {
    background: rgba(239, 68, 68, 0.3);
}
.spec-table td:first-child {
    font-weight: bold;
    color: #A4F0D1;
}

/* === BOX 10: PROS/CONS - Giữ nguyên === */
.text-theme-red { color: #f87171; }
.text-theme-green { color: #b6f0c8; }
.modal-backdrop {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 990;
    transition: opacity 0.3s ease;
}
.pro-con-modal-content {
    background-color: #2c1e4a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #f87171;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
}

/* === BOX 11: RATING SLIDER - Giữ nguyên === */
#slider-container {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}
#rating-emoji {
    font-size: 3.75rem;
    text-align: center;
    position: absolute;
    top: -10px;
    left: 50%;
    transition: left 0.1s linear;
    pointer-events: none;
    z-index: 10;
}
#rating-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    outline: none;
    position: relative;
    z-index: 5;
}
#rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: #ef4444;
    border-radius: 50%;
    border: 3px solid white;
    cursor: pointer;
    opacity: 0; /* Ẩn thumb gốc, để emoji thay thế */
}
#rating-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: #ef4444;
    border-radius: 50%;
    border: 3px solid white;
    cursor: pointer;
    opacity: 0; /* Ẩn thumb gốc, để emoji thay thế */
}

#rating-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ccc;
    padding: 0 5px;
}

/* === (MỚI) BỐ CỤC DESKTOP THEO YÊU CẦU === */

/* Trục chính giữa cho nội dung (TRỤC) */
.desktop-main-axis {
    width: 100%;
    margin: 0 auto;
}

/* Padding chuẩn cho các section desktop */
.desktop-section-padding {
    padding: 4rem 2rem; /* Tăng padding dọc, thêm padding ngang */
    border-bottom: 1px solid #4b5563; /* Phân cách section */
}
.desktop-main-axis > :last-child {
    border-bottom: none;
}

/* Bố cục 1 box (áp dụng YC max text width 1080px) */
/* Đây là layout mặc định cho các box đơn lẻ */
.single-box-layout {
    max-width: 1080px; /* YC: max text width 1080px */
    margin: 0 auto; /* Cân giữa trục */
}

/* Bố cục 2 box (áp dụng YC min width 1280px) */
.double-box-layout {
    /* Đảm bảo tổng chiều rộng > 1280px */
    max-width: 1440px; 
    min-width: 1280px; 
    margin: 0 auto; /* Cân giữa trục */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 cột bằng nhau */
    gap: 2.5rem;
    align-items: start; /* Giúp cân xứng chiều cao */
}

/* Đảm bảo các section con trong layout 2 box co giãn */
.double-box-layout > section {
     height: 100%;
     display: flex;
     flex-direction: column;
}
.double-box-layout > section > h2 {
    /* Đảm bảo tiêu đề co giãn */
    flex-shrink: 0;
}
 .double-box-layout > section > p {
    flex-shrink: 0;
 }
 /* Đảm bảo các component tương tác co giãn */
 #charging-animation, #container-wrapper {
    flex-grow: 1;
    height: 100%;
 }


/* === (MỚI) Tinh chỉnh component cho Desktop === */

/* Box 2: Stats (trên desktop không cần wrap) */
#box-2 .flex-wrap {
    flex-wrap: nowrap;
    justify-content: space-around; /* Phân bố đều */
}
#box-2 .text-lg {
     font-size: 1.25rem; /* To hơn 1 chút */
}
 #box-2 .text-2xl {
     font-size: 1.875rem; /* To hơn 1 chút */
}

/* Box 3: Bảng và Swiper */
#box-3 .comparison-table {
    font-size: 0.9rem; /* Chữ to rõ hơn */
}
#box-3 .swiper-container {
    max-width: 900px; /* Giới hạn swiper */
    margin: 1.5rem auto 0;
    aspect-ratio: 16 / 9; /* Ảnh rộng (thay vì 1:1) */
}

/* Box 4: Tương tác màn hình (căn giữa component) */
#box-4 .bg-gray-800 {
    max-width: 600px; 
    margin: 0 auto 1rem;
}

/* Box 5: Quiz cards (thành 3 cột) */
#box-5 .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
#box-5 .quiz-card {
    min-height: 24rem; /* Cao hơn cho desktop */
}
 #box-5 .card-front, #box-5 .card-back {
    min-height: 24rem;
}

/* Box 6: Flip card (cho rộng ra) */
#box-6 .quiz-card {
    max-width: 700px;
    margin: 1.5rem auto 0;
    aspect-ratio: 16 / 9; /* Rộng (thay vì 1:1) */
}

/* Box 7 (trong .double-box-layout) */
#charging-animation {
     height: 350px; /* Cao hơn */
}
.charging-phone {
    width: 150px; height: 300px; /* To hơn */
}
.charging-battery {
    width: 120px; height: 270px; /* To hơn */
}

/* Box 8 (trong .double-box-layout) */
#container-wrapper {
    min-height: 400px; /* Đảm bảo chart đủ cao */
}

/* Box 9: Benchmark (căn giữa) */
#box-9 .benchmark-test {
    max-width: 500px;
    margin: 0 auto;
}

/* Box 10: Pros/Cons (thành 2 cột) */
#box-10 .space-y-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    space-y: 0; /* Bỏ space-y cũ */
}

/* Box 11: Slider (căn giữa, giới hạn chiều rộng) */
#box-11 #slider-container {
    max-width: 700px;
    margin: 0 auto;
}
#box-11 #rating-labels {
     max-width: 700px;
    margin: 0.5rem auto 0;
}