/* ==========================================================================
   HỆ THỐNG GIAO DIỆN KHÔNG TRỌNG LƯỢNG (WEIGHTLESS LANDING PAGE)
   ========================================================================== */

/* Thiết lập bao quát & khoảng cách thở để chống sát viền tuyệt đối */
.weightless-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.hero-section, .stats-section, .services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* --- ĐIỀU CHỈNH KHÔNG GIAN HERO SECTION --- */
.hero-section {
    padding-top: 140px; /* Tránh đè lên thanh Header cố định */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content-box {
    flex: 1;
    max-width: 580px;
}

/* Thẻ badge phát quang nhẹ */
.badge-glow {
    display: inline-block;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(230, 81, 0, 0.4);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-title span {
    color: var(--accent-glow);
    text-shadow: 0 0 20px rgba(230, 81, 0, 0.3);
}

.hero-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Nút bấm hiệu ứng ánh sáng vô cực */
.btn-glow-cta {
    display: inline-block;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(230, 81, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-glow-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(230, 81, 0, 0.55);
}

.btn-secondary-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
    transition: 0.2s;
}

.btn-secondary-link:hover {
    color: var(--accent-glow);
    border-color: var(--accent-glow);
}

/* --- LƯỚI SẢN PHẨM HERO VISUAL (BỒNG BỀNH) --- */
.hero-visual-showcase {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.hero-prod-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

/* Giả lập hiệu ứng không trọng lượng bồng bầy so le lệch nhịp */
.hero-visual-showcase .hero-prod-card:nth-child(odd) {
    transform: translateY(-15px);
    animation: floatOdd 4s ease-in-out infinite alternate;
}

.hero-visual-showcase .hero-prod-card:nth-child(even) {
    transform: translateY(15px);
    animation: floatEven 4s ease-in-out infinite alternate;
}

.hero-prod-img {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 12px;
}

.hero-prod-name {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
}

/* --- KHỐI SỐ LIỆU STATS CARDS CHUYÊN NGHIỆP --- */
.stats-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    padding: 35px 20px;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 44px;
    font-weight: 900;
    color: var(--accent-glow);
    margin: 0 0 6px;
    background: linear-gradient(135deg, #fff 30%, var(--accent-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 12px;
    color: var(--text-main);
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* --- KHU VỰC TIÊU ĐỀ SECTION CHUNG --- */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-main-title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-main-title span {
    color: var(--accent-glow);
}

.section-sub-title {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- LƯỚI KHỐI DỊCH VỤ CHỦ LỰC --- */
.services-display-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-premium-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-premium-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(230, 81, 0, 0.12);
    transform: translateY(-5px);
}

.premium-img-wrapper {
    width: 100%;
    height: 190px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.prod-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.prod-img-placeholder .icon-tag {
    font-size: 32px;
}

.prod-img-placeholder .text-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.card-details-box h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.4;
}

.card-details-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 20px;
    line-height: 1.6;
    text-align: justify;
}

.card-footer-action {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent-glow);
}

.prod-price small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- KHUNG KÍNH POPUP MODAL ĐẶT HÀNG --- */
.modal-content-glass {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
    padding: 40px !important;
    border-radius: 24px !important;
    width: 90%;
    max-width: 460px;
    position: relative;
}

.modal-header-title {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.modal-header-title h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.modal-header-title p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal-btn:hover {
    color: var(--accent-glow);
}

.btn-modal-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
    color: #fff;
    border: none;
    font-weight: 900;
    font-size: 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(230, 81, 0, 0.2);
    margin-top: 10px;
    transition: 0.3s;
}

.btn-modal-submit:hover {
    box-shadow: 0 10px 25px rgba(230, 81, 0, 0.4);
}

/* ==========================================================================
   BỔ SUNG HIỆU ỨNG ANTIGRAVITY & SECTION TRANG CHỦ (TÍCH HỢP)
   ========================================================================== */

/* --- Hiệu ứng cuộn trang mượt (Reveal on Scroll) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Các vật thể trôi nổi liên tục */
.antigravity-element {
    animation: floatingGently 6s ease-in-out infinite alternate;
}
.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 1.5s; }
.delay-3 { animation-delay: 3s; }
.delay-4 { animation-delay: 4.5s; }

@keyframes floatingGently {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

@keyframes floatOdd {
    0% { transform: translateY(-10px); }
    100% { transform: translateY(-25px); }
}

@keyframes floatEven {
    0% { transform: translateY(25px); }
    100% { transform: translateY(10px); }
}

/* Thẻ nổi lên khi Hover */
.float-hover:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Nút bấm Outline Glow */
.btn-outline-glow {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid var(--accent);
    color: var(--accent-glow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    background: transparent;
}
.btn-outline-glow:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(230, 81, 0, 0.4);
}

/* --- KHU VỰC VỀ CHÚNG TÔI (ABOUT) --- */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(230, 81, 0, 0.03), transparent);
}
.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.about-text {
    flex: 1;
}
.about-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}
.about-image-stack {
    flex: 1;
    position: relative;
    height: 400px;
    perspective: 1000px;
}
/* ==========================================================================
   BẢN VÁ NÂNG CẤP (ẢNH GIỚI THIỆU & HIỆU ỨNG CLICK CHUYỂN CẢNH)
   ========================================================================== */

/* 1. Xử lý triệt để lỗi ảnh Giới thiệu chồng mờ */
.img-float {
    position: absolute;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glossy-border-top);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: floatingGently 5s ease-in-out infinite alternate;
    background-color: rgba(255,255,255,0.05); /* Màu lót dự phòng nếu chưa có ảnh */
}

.back-img {
    width: 70%;
    height: 300px;
    top: 20px;
    right: 0;
    opacity: 0.85; /* Tăng độ sáng */
    z-index: 1;
    animation-delay: 2s;
}

.front-img {
    width: 75%;
    height: 320px;
    bottom: 20px;
    left: 0;
    z-index: 2;
    backdrop-filter: none !important; /* GỠ BỎ TÍNH NĂNG KÍNH MỜ GÂY LỖI TRÌNH DUYỆT */
    box-shadow: 0 25px 50px rgba(0,0,0,0.8); /* Bóng đổ cực mạnh để tách hẳn khỏi nền */
}

/* 2. Hiệu ứng HÚT VÀO TRONG khi click vào sản phẩm */
.clicked-animate {
    transform: scale(0.85) translateY(20px) !important;
    opacity: 0 !important;
    filter: blur(10px) !important;
    transition: all 0.4s cubic-bezier(0.5, 0, 0.2, 1) !important;
    pointer-events: none; /* Khóa click nhấp nháy */
}

/* --- KHU VỰC BLOG LƯỚI TRANG CHỦ --- */
.blog-preview-section {
    padding: 80px 20px 120px;
    max-width: 1200px;
    margin: 0 auto;
}
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.home-blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.home-blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(230, 81, 0, 0.15);
}
.home-blog-thumb {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}
.home-blog-info {
    padding: 20px;
}
.home-blog-info h4 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-blog-info p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-blog-info span {
    color: var(--accent-glow);
    font-size: 12px;
    font-weight: 600;
}

/* --- RESPONSIVE BREAKPOINTS CO GIÃN --- */
@media (max-width: 1024px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content-box { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .stats-layout-grid { grid-template-columns: repeat(2, 1fr); }
    .services-display-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-section { padding-top: 100px; }
    .hero-title { font-size: 34px; }
    .hero-visual-showcase { grid-template-columns: 1fr; width: 100%; }
    .hero-visual-showcase .hero-prod-card:nth-child(odd),
    .hero-visual-showcase .hero-prod-card:nth-child(even) {
        transform: translateY(0);
        animation: none;
    }
    .stats-layout-grid { grid-template-columns: 1fr; }
    .services-display-grid { grid-template-columns: 1fr; }
    
    .about-grid { flex-direction: column; }
    .about-image-stack { width: 100%; height: 300px; }
    .home-blog-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   BẢN VÁ LỖI HIỂN THỊ (MODAL BÁO GIÁ & ẢNH GIỚI THIỆU)
   ========================================================================== */

/* 1. SỬA LỖI ẢNH CHỒNG MỜ (Bỏ backdrop-filter để hình ảnh hiển thị rõ nét) */
.front-img {
    width: 75%;
    height: 320px;
    bottom: 20px;
    left: 0;
    background-image: url('https://images.unsplash.com/photo-1626785724573-4b799315345d?auto=format&fit=crop&q=80'); 
    z-index: 2;
    /* Đã gỡ bỏ backdrop-filter gây lỗi vỡ hình */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); /* Tăng bóng đổ để tách lớp 3D rỏ hơn */
}

/* 2. SỬA LỖI KHUNG POPUP BÁO GIÁ BỊ LỆCH VÀ DỒN CỤC */
/* Căn giữa tuyệt đối cho màn hình mờ tối (Overlay) */
.modal-overlay {
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.75); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    backdrop-filter: blur(8px);
}

/* Định dạng cấu trúc cho từng hàng nhập liệu */
.form-row-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

/* Định dạng nhãn chữ (Tên, SĐT, Ghi chú) */
.form-row-group label {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: none; /* Bỏ in hoa toàn bộ để dễ đọc hơn */
}

/* Tráng kính cho ô nhập liệu (Input & Textarea) */
.form-row-group input, 
.form-row-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s;
}

/* Hiệu ứng khi bấm vào ô nhập liệu sẽ sáng viền cam */
.form-row-group input:focus, 
.form-row-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(230, 81, 0, 0.2);
}