/*
  DOITHE.COM - Pure CSS Design System
  Semantic & Component Based (No Utilities)
*/

:root {
    --background-dark: #0a0a0a;
    --text-primary: #0f172a;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-color-dark: rgba(255, 255, 255, 0.1);
    --container-max-width: 1280px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* Base Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Common Components */
.btn {
    padding: 0.75rem 15px;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.desktop-hidden {
    display: none;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: block;
    height: auto;
}

.header-top {
    background: #ffffff;
    padding: 10px 0;
}

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

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.625rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.logo img {
    width: auto;
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-info-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #133d70;
    font-size: 0.875rem;
    font-weight: 600;
}

.info-item .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-signup {
    background-color: #ffb822; /* Theo yêu cầu giữ nguyên màu chủ đạo, đây là màu vàng của nút đăng ký */
    color: #000 !important;
    border-radius: 999px;
    padding: 8px 20px;
}

.btn-signup:hover {
    background-color: #e6a014;
}

.btn-login {
    background-color: var(--secondary-color); /* Xanh sẫm chủ đạo cho nav menu và button login */
    color: #ffffff !important;
    border-radius: 999px;
    padding: 8px 20px;
}

.btn-login:hover {
    background-color: #0f3059;
}

/* Nav Menu Bar */
.nav-menu {
    background-color: var(--primary-color);
}

.nav-menu .container-flex {
    height: 50px;
}

.nav-list {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
    margin: 0;
}

.nav-link {
    color: #ffffff !important;
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}

.header-search {
    display: flex;
    align-items: center;
    position: relative;
}

.search-toggle-btn {
    color: #ffffff;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-expand {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 999px;
    overflow: hidden;
    width: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    z-index: 10;
}

.search-expand.active {
    width: 300px;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-expand-inner {
    display: flex;
    width: 100%;
    padding: 5px 15px;
    align-items: center;
    gap: 10px;
}

.search-expand-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.875rem;
    background: transparent;
    color: #0f172a;
}

.search-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-close-btn:hover {
    color: var(--primary-color);
}


/* Mega Menu V2 */
.has-mega-menu { position: relative; }

.mega-menu-v2 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #f8fafc;
    box-shadow: 0 40px 100px -12px rgba(0, 0, 0, 0.2);
    border-radius: 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 900px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.has-mega-menu:hover .mega-menu-v2 {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

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

@media (max-width: 991px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 10px;
    }
}

.mega-tabs {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
}

.mega-tab-btn {
    padding: 15px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    text-transform: uppercase;
}

.mega-tab-btn span { font-size: 1.25rem; }

.mega-tab-btn:hover { color: var(--primary-color); }

.mega-tab-btn.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #fff5f5;
}

.mega-tab-content {
    display: none;
    padding: 30px;
}

.mega-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

.mega-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 300px;
    gap: 30px;
}

.mega-column-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mega-service-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    background: transparent;
}

.mega-service-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.ms-image {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.ms-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-content {
    flex: 1;
}

.ms-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ms-badge.hot { background: #fee2e2; color: #ef4444; }
.ms-badge.premium { background: #fef3c7; color: #d97706; }

.ms-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.ms-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.mega-promo {
    height: 100%;
}

.mega-promo-card {
    position: relative;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.mega-promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: white;
}

.mega-promo-overlay p { font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; }
.mega-promo-overlay h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.2; }


/* Hero V2 - Brighter Theme */
.hero-v2 {
    position: relative;
    overflow: hidden;
}

.hero-slider-v2 {
    padding: 60px 0;
    width: 100%;
}

.hero-slide-item {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: end;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fdf2d7;
    color: #b45309;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-badge-v2 i {
    color: #f59e0b;
}

.hero-heading-v2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-heading-v2 span {
    color: #f59e0b;
}

.hero-desc-v2 {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.6;
}

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

.btn-yellow {
    background: #ffb822;
    color: #000;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(255, 184, 34, 0.3);
}
.btn-yellow:hover {
    background: #f59e0b;
}

.btn-outline-v2 {
    background: #ffffff;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
}
.btn-outline-v2:hover {
    background: #f8fafc;
}

.hero-stats-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.stat-card-v2 {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-icon-v2 {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.stat-info-v2 h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.stat-info-v2 p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-visual-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-main-banner-v2 {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-note-v2 {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.hero-note-v2 h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.hero-note-v2 p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}
/* Hero Slider Navigation & Pagination */
.hero-slider-v2 .swiper-pagination {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-slider-v2 .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
}

.hero-slider-v2 .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 4px;
    background: #f59e0b;
    opacity: 1;
}

.hero-slider-v2 .swiper-button-next,
.hero-slider-v2 .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: #0f172a;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}

.hero-slider-v2 .swiper-button-next:after,
.hero-slider-v2 .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: 900;
}

.hero-slider-v2 .swiper-button-next:hover,
.hero-slider-v2 .swiper-button-prev:hover {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.hero-slider-v2 .swiper-button-prev {
    left: 10px;
}

@media (max-width: 1024px) {
    .hero-slider-v2{
        padding-top: 0;
    }
    .hero-slider-v2 .swiper-button-next,
    .hero-slider-v2 .swiper-button-prev { display: none; }
}

@media (max-width: 1024px) {
    .hero-heading-v2 { font-size: 2.5rem; }
    .hero-slide-item { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { align-items: center; }
    .hero-btns-v2 { justify-content: center; }
    .hero-stats-v2 { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 768px) {
    .hero-v2 { padding: 40px 0; }
    .hero-heading-v2 { font-size: 2rem; }
}

/* Registration Card */
.registration-container { margin-top: 40px; position: relative; z-index: 10; }

.desktop-floating-cards {
    position: absolute;
    top: 0; left: 15px; right: 15px; bottom: 0;
    pointer-events: none;
    z-index: 20;
}

.floating-card {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fc-1 { top: -20px; left: -30px; width: 140px; height: 90px; transform: rotate(-10deg); }
.fc-2 { bottom: -15px; left: 40px; width: 100px; height: 100px; transform: rotate(5deg); }
.fc-3 { top: -30px; right: 80px; width: 120px; height: 120px; transform: rotate(12deg); }
.fc-4 { top: -10px; right: -15px; width: 110px; height: 110px; transform: rotate(-8deg); z-index: 19; }
.fc-5 { bottom: -20px; right: -20px; width: 150px; height: 80px; transform: rotate(-5deg); }

@media (max-width: 991px) {
    .desktop-floating-cards { display: none; }
}

.registration-card {
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 420px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.registration-info { padding: 4rem; }
.registration-title { font-size: 2.5rem; font-weight: 950; color: #0f172a; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.registration-desc { color: var(--text-muted); font-size: 1.125rem; }

.registration-actions { background: #f8fafc; padding: 4rem; display: flex; gap: 15px; align-items: center; border-left: 1px solid #e2e8f0; }
.reg-btn { flex: 1; justify-content: center; }

/* Sections */
.services-section, .why-choose-section, .faq-section { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 2rem; }
.section-label { color: var(--primary-color); font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; margin-bottom: 1rem; display: block; }
.section-title { font-size: 3rem; font-weight: 950; margin-bottom: 1rem; letter-spacing: -0.01em; }
.section-desc { color: var(--secondary-color); max-width: 650px; margin: 0 auto; font-size: 1.125rem; font-weight: 500; }

/* Service Grid V3 */
.service-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
@media (max-width: 991px) {
    .service-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
.service-card-v3 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    text-decoration: none !important;
    color: white !important;
    min-height: 160px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.service-card-v3:hover {
    transform: translateY(-5px);
}
.service-card-v3.text-dark {
    color: #475569 !important;
}
.service-card-v3.text-dark h3 {
    color: #0f172a !important;
}

.sc-v3-content {
    flex: 1;
    padding: 24px 20px;
    padding-right: 0;
    max-width: 60%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.sc-v3-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    color: white;
}
.sc-v3-content p {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.9;
}
.sc-v3-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: white;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.sc-v3-btn .material-symbols-outlined {
    font-size: 1rem;
}

/* Base button text colors based on the design */
.text-red { color: var(--primary-color) !important; }
.text-orange { color: #df6635 !important; }
.text-purple { color: #9063d8 !important; }
.text-brown { color: #b6724a !important; }

/* The sliced image right-side decoration */
.sc-v3-image {
    position: absolute;
    right: 0;
    top: 5%;
    width: 55%;
    height: 90%;
    z-index: 1;
    pointer-events: none;
}
.sc-v3-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Gradients for the 6 cards */
.sc-grad-1 { background: linear-gradient(135deg, #e16b57 0%, #d84534 100%); }
.sc-grad-2 { background: linear-gradient(135deg, #f7ecd9 0%, #ebd4ba 100%); }
.sc-grad-3 { background: linear-gradient(135deg, #dfecfa 0%, #bacced 100%); }
.sc-grad-4 { background: linear-gradient(135deg, #f0a266 0%, #e36a39 100%); }
.sc-grad-5 { background: linear-gradient(135deg, #bea2ee 0%, #906cdc 100%); }
.sc-grad-6 { background: linear-gradient(135deg, #cd976e 0%, #bb744b 100%); }

@media (max-width: 768px) {
    .service-card-v3 { min-height: 140px; flex-direction: column; }
    .sc-v3-content { max-width: 100%; padding: 15px; }
    .sc-v3-content h3 { font-size: 1.125rem; margin-bottom: 4px; }
    .sc-v3-content p { font-size: 0.7rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .sc-v3-btn { font-size: 0.65rem; padding: 4px 8px; }
    .sc-v3-btn .material-symbols-outlined { font-size: 0.8rem; }
    .sc-v3-image { width: 100%; right: -5px; height: 100%; top: 0; position: static; }
}

/* Why Choose Us */
.why-choose-section { padding: 40px 0;position: relative; background: #ffffff; }
.why-choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 4rem; }
.why-choose-item { text-align: center; }
.why-choose-icon-box {
    width: 96px;
    height: 96px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #475569;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.why-choose-icon-box span { font-size: 3rem; }
.why-choose-item:hover .why-choose-icon-box {
    background: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}
.why-choose-item.item-reverse:hover .why-choose-icon-box {
    transform: rotate(-15deg);
}
.why-choose-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; color: #0f172a; }
.why-choose-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.625; max-width: 20rem; margin: 0 auto; }

/* Process Section */
.position-relative{
    position: relative;
}
.process-section { position: relative; padding: 60px 0; background: #f8fafc; color: #0f172a; border-top: 1px solid #e2e8f0; }
.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.process-step {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.25rem;
    font-weight: 950;
    color: #475569;
    transition: var(--transition);
}

.process-item:last-child .process-step {
    background: var(--primary-color);
    color:white;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4);
}

.process-item:hover .process-step {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color:white;
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-5px);
}

.process-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; color: #1e293b; }
.process-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; padding: 0 1rem; }

.process-section .section-title { color: #0f172a; }
.process-section .section-desc { color: var(--text-muted); font-size: 1.125rem; }

/* Reviews Section (Swiper) */
.reviews-section { padding: 60px 0; background: #ffffff; }
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.reviews-header .section-header { text-align: left; margin-bottom: 0; }

.swiper-nav { display: flex; gap: 1rem; margin-bottom: 1rem; }
.swiper-btn {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    transition: var(--transition);
}
.swiper-btn:hover { background: #e2e8f0; color: var(--primary-color); }

.review-slider { padding: 20px 0 0; overflow: visible !important; }

.review-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    height: auto;
    transition: var(--transition);
}

.review-dark {
    background: #0f172a;
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.review-dark .reviewer-name { color: white; }
.review-dark .review-text { color: #cbd5e1; }

.quote-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.reviewer-meta { display: flex; align-items: center; gap: 1rem; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.review-dark .reviewer-meta { border-color: rgba(255,255,255,0.1); }

.reviewer-img { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(45deg, #d3c7a1, #9c8e65); }
.rating-stars { color: #fbbf24; margin-bottom: 15px; display: flex; gap: 2px; }
.rating-stars span { font-size: 1rem; }
.review-text { font-size: 1rem; color: #475569; font-style: italic; line-height: 1.7; }
.reviewer-name { font-weight: 700; color: #0f172a; margin-bottom: 0.125rem; }
.reviewer-role { font-size: 0.75rem; color: var(--primary-color); text-transform: uppercase; font-weight: 600; }

/* About Section Refinement */
.about-section { padding: 60px 0 0; background: #f8fafc; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visuals { position: relative; }
.about-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.bento-col { display: flex; flex-direction: column; gap: 15px; }
.bento-col.spacer-top { margin-top: 20px; }
.about-img { width: 100%; border-radius: 15px; object-fit: cover; box-shadow: 0 25px 50px rgba(0,0,0,0.1); transition: transform 0.5s; cursor: pointer; border: 4px solid white; }
.about-img:hover { transform: scale(1.05); }
.about-stat-box {
    background: var(--primary-color);
    padding: 20px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.3);
}
.stat-num { font-size: 3rem; font-weight: 950; display: block; line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; opacity: 0.9; letter-spacing: 0.05em; }

.about-card-dark {
    background: #0f172a;
    padding: 20px;
    border-radius: 15px;
    color: white;
    box-shadow:  0 25px 50px rgba(0,0,0,0.2);
}
.about-card-dark span { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; display: block; }
.about-card-dark h4 { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.about-card-dark p { color: #94a3b8; font-size: 0.875rem; line-height: 1.5; }

.about-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.about-tag::before { content: ""; width: 24px; height: 2px; background: var(--primary-color); }

.about-heading { font-size: 3.5rem; font-weight: 950; line-height: 1.1; margin-bottom: 20px; color: #0f172a; letter-spacing: -0.02em; }
.about-summary { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 3.5rem; line-height: 1.7; }

.feature-list { display: grid; gap: 20px; }
.feature-item { display: flex; gap: 15px; }
.feature-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feature-icon span { font-size: 2rem; }
.feature-text h5 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: #0f172a; }
.feature-text p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* Reviews Section */
.reviews-section { padding: 60px 0; background: #f8fafc; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: white; padding: 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; }
.rating-stars { color: #fbbf24; margin-bottom: 15px; display: flex; gap: 2px; }
.rating-stars span { font-size: 1.25rem; }
.review-text { font-size: 1.125rem; color: #1e293b; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.reviewer-meta { display: flex; align-items: center; gap: 1rem; }
.reviewer-img { width: 48px; height: 48px; background: #e2e8f0; border-radius: 50%; }
.reviewer-name { font-weight: 700; color: #0f172a; margin-bottom: 0.125rem; }
.reviewer-role { font-size: 0.8125rem; color: var(--secondary-color); }
.why-choose-desc { color: var(--secondary-color); max-width: 300px; margin: 0 auto; line-height: 1.7; }

/* FAQ Section */
.faq-section { padding: 60px 0; background: #f8fafc; }
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: white; border-radius: 1rem; padding: 1.25rem 20px; border: 1px solid #e2e8f0; transition: var(--transition); }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; color: #1e293b; }
.faq-question span:first-child { font-size: 1rem; }
.faq-answer { display: none; margin-top: 15px; color: var(--text-muted); line-height: 1.8; border-top: 1px solid #f1f5f9; padding-top: 1.25rem; font-size: 0.875rem; }
.faq-item.active { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-item.active .material-symbols-outlined { transform: rotate(180deg); color: var(--primary-color); }

.bottom-nav { display: flex; justify-content: center; gap: 20px; margin-top: 4rem; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.bottom-nav a { color: #94a3b8; font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; }
.bottom-nav a:hover { color: var(--primary-color); }

/* Footer */
.footer { padding: 40px 0 0; background: #0a0a0a; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr; gap: 4rem; margin-bottom: 1rem; }
.footer-logo { margin-bottom: 15px; font-size: 1.5rem; color: white !important; }
.footer-desc { color: #fff; font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 1rem; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-title { font-size: 1rem; font-weight: 900; color: #fff; margin-bottom: 20px; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 1.25rem; }
.footer-links a { color: #fff; font-size: 0.875rem; font-weight: 600; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 5px; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 15px;  font-size: 0.875rem; font-weight: 600; line-height: 1.5; }
.contact-icon { width: 32px; height: 32px; background: var(--primary-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.contact-icon span { font-size: 1.125rem; }

.footer-bottom { background: #050505; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-content { text-align: center; color: #fff; font-size: 0.75rem; letter-spacing: 0.1em; }

/* Utilities Replacements (Applied directly in components above) */
.uppercase { text-transform: uppercase; }
.font-black { font-weight: 950; }
.row { display: flex; align-items: center; justify-content: space-between; }

/* Responsive Styles for Mobile & Tablet */
.mobile-menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    z-index: 110;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.has-mega-menu > a .material-symbols-outlined {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.has-mega-menu > a .material-symbols-outlined.rotated {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .container { padding: 0 15px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 20px; padding: 4rem 0; }
    .hero-heading { font-size: 4rem; }
    .hero-heading-accent { font-size: 4.5rem; }
    .hero-summary { margin: 0 auto 20px; }
    .hero-badge { margin: 0 auto 20px; }
    .hero-action-group { flex-direction: column; align-items: center; justify-content: center; }
    .hero-trust-box { width: 100%; justify-content: center; }
    .hero-visual-right { display: flex; justify-content: center; }
    .hero-main-img { max-width: 80%; }

    .registration-card { grid-template-columns: 1fr; }
    .service-grid, .why-choose-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .process-grid::before { display: none; }
    .process-grid { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .process-item { min-width: 45%; }

    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 991px) {
    /* Header Container Overflow on Mobile */
    .header { background: #ffffff; color: #0a0a0a; border-bottom: 1px solid #e2e8f0; padding: 0; display: block; height: auto; }
    .header-top { height: 85px; display: flex; align-items: center; padding: 0; background: transparent; }
    .header .container-flex { padding: 0 1rem; }

    .header .logo { font-size: 1.25rem; gap: 0.5rem; }
    .header .logo img { height: 32px; }

    .mobile-menu-toggle { color: #0f172a; display: block; flex-shrink: 0; font-size: 1.25rem; order: -1; margin-right: 15px; position: static; transform: none; background: none; border: none; }

    .header-right { gap: 15px; flex-direction: row-reverse; }
    .header-info-group { display: none; }

    .header-auth { display: flex; gap: 0.5rem; flex-shrink: 0; align-items: center; }
    .btn-login { color: #0f172a !important; font-size: 0.8125rem; font-weight: 700; white-space: nowrap; background: transparent; padding: 0; }
    .btn-login:hover { background: transparent; color: var(--primary-color) !important; }
    .btn-signup { padding: 0.5rem 0.75rem; font-size: 0.75rem; white-space: nowrap; background: var(--primary-color); color: white !important; border-radius: 0.75rem; }
    .btn-signup:hover { background: var(--primary-hover); }

    /* Nav Menu Panel Fix */
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: #ffffff;
        transition: var(--transition);
        overflow-y: auto;
        padding: 20px 15px;
        z-index: 99;
        color: #0f172a;
    }
    .nav-menu .container-flex { display: flex; flex-direction: column; align-items: flex-start; height: auto; }
    .nav-menu.active { left: 0; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; }
    .nav-link { font-size: 1.125rem; justify-content: space-between; color: #0f172a !important; display: flex; width: 100%; }
    .nav-link:hover, .nav-link.active { color: var(--primary-color) !important; text-decoration: none; }

    .desktop-hidden { display: block; }
    .header-search { display: none; }

    .has-mega-menu { position: static; width: 100%; }
    .mega-menu-v2 {
        position: static;
        transform: none !important;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        background: #f1f5f9;
        padding: 15px;
        display: none;
        width: 100%;
        border: none;
        border-radius: 0.75rem;
        margin-top: 10px;
    }
    .mega-tabs { display: none; }
    .mega-tab-content { display: block; padding: 0; }
    .mega-content-inner { grid-template-columns: 1fr; gap: 15px; }
    .mega-promo { display: none; }
    .mega-column-v2 { gap: 10px; }
    .mega-service-item { padding: 8px; gap: 10px; background: white; }
    .ms-image { width: 50px; height: 50px; border-radius: 0.5rem; }
    .ms-title { font-size: 0.85rem; }
    .ms-desc { font-size: 0.7rem; }
}

@media (max-width: 768px) {
    /* Responsive Layout Fixes corresponding to requested images */
    .section-title { font-size: 1.75rem; }
    .hero-heading { font-size: 3rem; }
    .hero-heading-accent { font-size: 3.5rem; }
    .registration-title { font-size: 1.75rem; }
    .about-heading { font-size: 1.75rem; }
    .stat-num { font-size: 2.5rem; }

    .hero-v2 { min-height: auto; }
    .hero-container { padding: 20px 0; gap: 20px; }
    .hero-summary { font-size: 0.9rem; max-width: 90%; }
    .registration-info, .registration-actions { padding: 15px; }
    .registration-actions { flex-direction: column; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.05); }
    .reg-btn { width: 100%; font-size: 0.8125rem; }

    /* Grid overrides */
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0 0.5rem; }
    .service-card .card-body { padding: 1rem; }
    .service-card .card-icon { width: 40px; height: 40px; margin-top: -20px; margin-bottom: 1rem; }
    .service-card .card-icon span { font-size: 1.25rem; }
    .service-card .card-title { font-size: 1rem; margin-bottom: 0.5rem; }
    .service-card .card-desc { font-size: 0.7rem; margin-bottom: 1rem; }
    .card-image { height: 120px; }
    .hot-label { font-size: 0.5rem; padding: 0.20px 0.4rem; top: 0.75rem; left: 0.75rem; }
    .card-link { font-size: 0.7rem; }

    .about-bento { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .bento-col.spacer-top { margin-top: 0; }
    .about-img { border-radius: 1rem; border-width: 2px; }
    .about-stat-box { padding: 1rem; border-radius: 1rem; }
    .about-card-dark { padding: 1rem; border-radius: 1rem; }
    .about-card-dark span { font-size: 2rem; }
    .about-card-dark h4 { font-size: 1rem; }
    .about-card-dark p { font-size: 0.75rem; }

    .why-choose-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem; }
    .why-choose-item { min-width: 100px; }
    .why-choose-icon-box { width: 48px; height: 48px; border-radius: 1rem; margin-bottom: 0.75rem; }
    .why-choose-icon-box span { font-size: 1.5rem; }
    .why-choose-title { font-size: 0.85rem; margin-bottom: 0.5rem; }
    .why-choose-desc { font-size: 0.65rem; }

    .process-grid { flex-direction: row; flex-wrap: nowrap; gap: 0.25rem; justify-content: space-between; overflow: visible; padding-bottom: 0; }
    .process-grid::before { display: block; top: 16px; left: 10%; right: 10%; width: 80%; }
    .process-item { min-width: 0; flex: 1; padding: 0; }
    .process-step { width: 32px; height: 32px; font-size: 0.8rem; margin-bottom: 0.5rem; border-radius: 0.5rem; border-width: 1px; }
    .process-title { font-size: 0.65rem; margin-bottom: 0.20px; }
    .process-desc { font-size: 0.55rem; padding: 0; line-height: 1.3; word-break: break-word; }

    .reviews-section { overflow: hidden; padding: 4rem 0; }
    .reviews-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 20px; }
    .review-card { padding: 15px; }
    .review-text { font-size: 0.8rem; margin-bottom: 15px; }
    .reviewer-meta { margin-top: 1rem; padding-top: 1rem; }
    .reviewer-img { width: 40px; height: 40px; }
    .reviewer-name { font-size: 0.85rem; }
    .reviewer-role { font-size: 0.65rem; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
    .footer-desc { display: none; }
    .footer-title { margin-bottom: 1rem; font-size: 0.85rem; }
    .footer-links li { margin-bottom: 0.75rem; }
    .footer-links a, .contact-item { font-size: 0.75rem; }
    .contact-icon { width: 24px; height: 24px; }
    .contact-icon span { font-size: 1rem; }
    .social-links { margin-top: 1rem; }
    .bottom-nav { flex-wrap: wrap; gap: 0.75rem; text-align: center; justify-content: center; }
}
@media (max-width: 400px) {
    .footer-grid { grid-template-columns: repeat(1, 1fr);}
}

/* Exchange Section (Doi the cao) */
.exchange-section {
    padding: 60px 0;
}

.exchange-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.card-v3 {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
}

.card-v3-header {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-v3-header.orange { background: #f59e0b; }
.card-v3-header.red { background: var(--primary-color); }

.card-v3-header h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.card-v3-body {
    padding: 25px;
}

.card-v3-divider {
    border-top: 1px dashed #e2e8f0;
    margin: 20px 0 0;
    padding-top: 20px;
}

/* Card Selection */
.card-type-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.card-type-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.card-type-item:hover, .card-type-item.active {
    border-color: #f59e0b;
    background: #fffcf5;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.1);
}

.card-type-item img {
    height: 80px;
    width: 145px;
    object-fit: cover;
    display: block;
}

.card-type-item span {
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #475569;
}

.card-type-item.active span {
    color: #f59e0b;
}

/* Form Styles */
.form-group-v2 {
    margin-bottom: 20px;
}

.form-group-v2 label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-group-v2 label span { color: var(--primary-color); }

.form-select-v2, .form-control-v2 {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-select-v2:focus, .form-control-v2:focus {
    border-color: var(--secondary-color);
}

.btn-submit-v2 {
    width: 100%;
    height: 48px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-submit-v2:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.form-note-v2 {
    margin-top: 20px;
    padding: 15px;
    background: #fefce8;
    border-radius: 10px;
    border: 1px solid #fef08a;
}

.form-note-v2 p {
    font-size: 0.75rem;
    color: #854d0e;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.form-note-v2 b { color: var(--primary-color); }

/* Info Box */
.info-box-v2 {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    background: #ffffff;
}

.info-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item-v2 {
    display: flex;
    gap: 12px;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.6;
}

.info-item-v2 i { color: #f59e0b; margin-top: 3px; }

.info-item-v2 b { color: #0f172a; }

.fee-table-section {
    margin-top: 40px;
}

.exchange-table-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.table-v2-container {
    background: #ffffff;
    border-radius: 12px;
    overflow-y: auto;
    max-height: 400px;
    border: 1px solid #f1f5f9;
}

/* Custom Scrollbar for Table */
.table-v2-container::-webkit-scrollbar {
    width: 4px;
}

.table-v2-container::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}

.table-v2-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.table-v2-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.table-v2 {
    width: 100%;
    border-collapse: collapse;
}

.table-v2 th {
    background: var(--secondary-color);
    color: #ffffff;
    text-align: left;
    padding: 10px 15px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
}

.table-v2 td {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #475569;
}

.badge-v2 {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-v2.success { background: #dcfce7; color: #15803d; }

/* Buy Section (Mua ma the) */
.buy-section {
    padding: 60px 0;
    background: #ffffff;
}

.buy-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.denomination-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.denom-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.denom-item:hover, .denom-item.active {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.1);
}

.denom-item.active {
    background: #fffafa;
}

.denom-item h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Cart Styles */
.cart-v2 {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 25px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cart-header-v2 {
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.cart-item-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
}

.cart-item-info h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-total-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.cart-total-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-color);
}

.payment-method-v2 {
    margin-bottom: 20px;
}

.payment-method-v2 label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.btn-checkout-v2 {
    width: 100%;
    height: 48px;
    background: #15803d;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-checkout-v2:hover {
    background: #166534;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(21, 128, 61, 0.2);
}

@media (max-width: 991px) {
    .exchange-grid, .buy-grid { grid-template-columns: 1fr; }
    .card-type-grid { grid-template-columns: repeat(3, 1fr); }
    .denomination-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .card-type-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Updated Grey Text Contrast */
:root {
    --text-muted: #4b5563; /* Darker grey for better accessibility */
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: #f8fafc;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: #000;
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    border: none;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-body {
    padding: 25px;
}

.news-date {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.news-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e1b4b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 950;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Social Library Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-title { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .news-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .news-grid::-webkit-scrollbar {
        display: none;
    }
    .news-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
    .cta-btns { flex-direction: column; }
}
