/* BẢN QUYỀN THUỘC VỀ TIỆM ẢNH GEN Z © 2025
   Tác giả: Thành Huy / zalo 081.6677.689
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {

    --primary-blue: #0f172a;   /* Xanh đen đậm - Dùng cho text chính, nút thường */
    --accent-color: #4f46e5;   /* Xanh Indigo - Màu chủ đạo, tin cậy */
    --hot-color: #f97316;      /* Cam san hô - Màu nhấn cho nút mua, gói hot */
    
    --bg-main: #f8fafc;        /* Nền xám xanh nhạt sang trọng */
    --bg-white: #ffffff;       /* Nền thẻ trắng sạch */
    
    --text-dark: #1e293b;      /* Màu chữ chính */
    --text-gray: #64748b;      /* Màu chữ phụ, mô tả */
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif; /* Font hiện đại, không chân */
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    background: var(--bg-white);
    padding: 15px 40px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #e2e8f0;
    position: sticky; top: 0; z-index: 1000;
}
.logo { 
    font-family: 'Inter', sans-serif; 
    font-weight: 900; 
    font-size: 1.5rem; 
    color: var(--accent-color); 
    letter-spacing: -0.5px;
}
.btn-header { 
    background: var(--primary-blue); 
    color: white; 
    padding: 10px 24px; 
    border-radius: 8px; /* Bo góc nhẹ, hiện đại */
    text-decoration: none; 
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}
.btn-header:hover { background: var(--accent-color); }

/* --- HERO SECTION --- */
.hero { 
    text-align: center; 
    padding: 80px 20px 60px;
    background: var(--bg-white); /* Nền trắng làm nổi bật nội dung */
    border-bottom: 1px solid #e2e8f0;
}
.hero h1 { 
    font-size: 3rem; 
    font-weight: 800; 
    color: var(--primary-blue); 
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -1px;
}
.hero h1 span { 
    font-family: 'Inter', sans-serif; 
    color: var(--accent-color); /* Dùng màu xanh Indigo nhấn mạnh */
    text-shadow: none; /* Bỏ bóng chữ cũ */
    background: linear-gradient(to right, var(--accent-color), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { 
    color: var(--text-gray);
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    background: none;
    padding: 0;
}

/* --- GRID SYSTEM --- */
.pricing-container {
    max-width: 1200px; margin: 0 auto; padding: 60px 20px;
    display: grid; gap: 30px;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .pricing-container {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

/* --- CARD STYLE (THIẾT KẾ MỚI SANG TRỌNG) --- */
.card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0; /* Viền mỏng tinh tế */
    display: flex; flex-direction: column; height: 100%; position: relative;
    transition: all 0.3s ease;
}

/* Hiệu ứng hover nhẹ nhàng, chuyên nghiệp */
.card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

/* --- GÓI NỔI BẬT (THIẾT KẾ KHÁC BIỆT) --- */
.card.popular { 
    border: 2px solid var(--hot-color); /* Viền cam nổi bật */
    background: var(--bg-white);
    transform: scale(1.05); /* Phóng to nhẹ */
    z-index: 10;
    box-shadow: var(--shadow-md);
}
@media (max-width: 1024px) { .card.popular { transform: none; } }

.badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--hot-color); color: white; 
    padding: 6px 16px; border-radius: 30px;
    font-size: 0.75rem; font-weight: 800; 
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

/* Typography Card */
.card h3 { 
    font-family: 'Inter', sans-serif; 
    font-size: 1.5rem; 
    color: var(--primary-blue); 
    margin-bottom: 10px; 
    font-weight: 800;
}
.card.popular h3 { color: var(--hot-color); } /* Gói hot tiêu đề màu cam */

.price { 
    font-size: 2.5rem; font-weight: 900; color: var(--primary-blue); 
    display: flex; align-items: baseline; margin-bottom: 5px;
}
.price span { 
    font-size: 1rem; color: var(--text-gray); 
    font-weight: 600; margin-left: 5px; 
}
.desc { 
    color: var(--text-gray); font-size: 1rem; font-weight: 500;
    margin-bottom: 25px; padding-bottom: 25px; 
    border-bottom: 1px solid #f1f5f9; min-height: 45px; 
}

/* Feature List */
.features-list { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.features-list li { 
    margin-bottom: 14px; font-size: 1rem; color: var(--text-dark); 
    display: flex; align-items: flex-start; font-weight: 500; 
}
.features-list li i { 
    color: var(--accent-color); /* Icon màu xanh Indigo */
    margin-right: 12px; min-width: 18px; margin-top: 4px; 
}
.card.popular .features-list li i { color: var(--hot-color); } /* Icon gói hot màu cam */

/* --- NÚT BẤM (BUTTON) CHUYÊN NGHIỆP --- */
.btn-select {
    width: 100%; padding: 16px; 
    border-radius: 12px; /* Bo góc vừa phải */
    border: 1px solid var(--primary-blue);
    background: var(--bg-white); 
    color: var(--primary-blue); 
    font-size: 1rem; font-weight: 700; 
    cursor: pointer; transition: all 0.2s;
}
.btn-select:hover { 
    background: #f1f5f9; 
    border-color: var(--accent-color);
}

/* Nút gói HOT - Rực rỡ nhất */
.card.popular .btn-select { 
    background: var(--hot-color);
    color: white; 
    border: none;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}
.card.popular .btn-select:hover { 
    background: #ea580c; /* Cam đậm hơn khi hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

/* --- FEEDBACK SECTION (STYLE MỚI) --- */
.feedback-section {
    padding: 80px 0;
    background: white; /* Nền trắng sạch */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 0;
}

.section-title { text-align: center; margin-bottom: 50px; padding: 0 20px; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 10px; }
.section-title h2 span { font-family: 'Inter', sans-serif; color: var(--accent-color); }
.section-title p { color: var(--text-gray); font-size: 1.1rem; }

/* Marquee Slider */
.marquee-container {
    width: 100%; overflow: hidden; white-space: nowrap;
    padding: 20px 0; position: relative;
}
/* Hiệu ứng mờ 2 bên cạnh bằng nền trắng */
.marquee-container::before, .marquee-container::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-white), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-white), transparent); }

.marquee-track {
    display: inline-flex; gap: 30px; padding-left: 30px;
    animation: scrollInfinite 120s linear infinite; /* Tốc độ chậm rãi */
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } 
}

/* Thẻ Feedback Mới - Gọn gàng hơn */
.feedback-card {
    width: 350px; flex-shrink: 0;
    background: #f8fafc; /* Nền xám rất nhạt */
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    white-space: normal;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: 0.3s;
}
.feedback-card:hover { border-color: var(--accent-color); background: white; box-shadow: var(--shadow-sm); }

.stars { margin-bottom: 15px; font-size: 1.1rem; color: #fbbf24; /* Màu vàng ngôi sao */ }
.comment { font-size: 1rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; font-weight: 500; }
.user-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid #e2e8f0; padding-top: 20px; }
.user-info img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.user-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary-blue); margin: 0; }
.user-info span { font-size: 0.85rem; background: white; border: 1px solid #e2e8f0; padding: 4px 10px; border-radius: 6px; color: var(--text-gray); font-weight: 600; }

/* --- FOOTER --- */
.footer-cta { 
    text-align: center; padding: 80px 20px; 
    background: var(--bg-main); 
    border-top: 1px solid #e2e8f0;
}
.footer-cta h2 { font-family: 'Inter', sans-serif !important; color: var(--primary-blue) !important; font-weight: 800; }
.contact-btn { 
    display: inline-flex; align-items: center; gap: 8px; 
    padding: 14px 32px; border-radius: 8px; 
    text-decoration: none; font-weight: 700; font-size: 1rem;
    transition: 0.3s;
}
.contact-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* Nút Zalo màu xanh đặc trưng */
#zalo-link { background: #0068ff; color: white; }
/* Nút Instagram gradient */
#insta-link { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.card.seller {
    /* Nền tím nhạt pha hồng nhẹ (Rất nịnh mắt) */
    background: linear-gradient(135deg, #f3e7ff 0%, #e8f4ff 100%);
    
    /* Viền tím đậm để tạo khung rõ ràng */
    border: 2px solid #8e44ad;
    border-radius: 20px;
    
    /* Hiệu ứng nổi */
    box-shadow: 0 10px 25px rgba(142, 68, 173, 0.15);
    transform: scale(1.05);
    z-index: 10;
    transition: 0.3s ease;
    
    /* QUAN TRỌNG: Đổi màu chữ sang Tím Đen để dễ đọc */
    color: #2c3e50; 
}

/* Hiệu ứng khi di chuột vào */
.card.seller:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(142, 68, 173, 0.3);
    border-color: #9b59b6;
}

/* 1. Tên Gói & Giá tiền: Màu tím đậm chủ đạo */
.card.seller h3 {
    color: #8e44ad; /* Tím đậm */
    font-weight: 800;
}

.card.seller .price {
    color: #2c3e50; /* Giá tiền màu đen xám cho rõ */
    font-weight: 900;
}

.card.seller .price span {
    color: #7f8c8d; /* Chữ /1 ảnh màu xám nhạt */
    font-weight: normal;
}

/* 2. Mô tả & List: Màu đen dễ đọc */
.card.seller .desc {
    color: #555;
    font-weight: 500;
}

.card.seller .features-list li {
    color: #34495e; /* Màu chữ danh sách */
    border-bottom: 1px dashed rgba(142, 68, 173, 0.2); /* Gạch chân nhẹ */
}

/* 3. Icon: Tím rực rỡ */
.card.seller .features-list li i {
    color: #8e44ad;
    background: none;
    -webkit-text-fill-color: initial; /* Tắt gradient text để icon rõ nét */
}

/* 4. Cái Nhãn (Badge) */
.card.seller .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #8e44ad, #3498db); /* Gradient Tím Xanh */
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    width: auto;
    border: 2px solid white;
}

/* 5. Nút bấm */
.card.seller .btn-select {
    width: 100%;
    background: linear-gradient(90deg, #8e44ad, #3498db);
    border: none;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

.card.seller .btn-select:hover {
    background: linear-gradient(90deg, #3498db, #8e44ad);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.4);
}