/* Reset mặc định của trình duyệt */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* Màu nền xám rất nhạt */
    color: #2d3436; /* Màu chữ đen xám */
    line-height: 1.6;
    padding: 20px;
    height: 100vh; /* Chiều cao full màn hình */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container chính để căn giữa mọi thứ */
.main-container {
    max-width: 800px;
    width: 100%;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

/* Header và Logo */
header {
    margin-bottom: 40px;
}

.logo-img {
    max-width: 150px; /* Giới hạn chiều rộng logo, điều chỉnh nếu cần */
    height: auto;
    /* Hiệu ứng nhẹ khi rê chuột vào logo */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: rotate(-5deg) scale(1.05);
    cursor: pointer;
}

/* Phần nội dung chính */
.hero-section {
    margin-bottom: 50px;
}

.headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Điểm nhấn màu vàng */
.highlight {
    color: #f1c40f; /* Màu vàng nghệ */
    position: relative;
    z-index: 1;
}

/* Tạo một vệt highlight phía sau chữ "Có Ích" */
.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(241, 196, 15, 0.3);
    z-index: -1;
    border-radius: 5px;
}

.sub-headline {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Khu vực nút bấm (Call to action) */
.cta-container {
    background-color: #fffcf0; /* Nền vàng rất nhạt */
    padding: 30px;
    border-radius: 15px;
    border: 2px dashed #f1c40f;
}

.status-text {
    font-weight: 600;
    margin-bottom: 20px;
    color: #d35400;
}

/* Nút bấm */
.btn-primary {
    background-color: #f1c40f;
    color: #2d3436;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

.btn-primary:hover {
    background-color: #f39c12;
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Tin nhắn ẩn */
.hidden {
    display: none;
}

#hiddenMessage {
    margin-top: 20px;
    font-weight: 600;
    color: #27ae60;
    animation: fadeIn 0.5s ease-in-out;
}

/* Footer */
footer {
    font-size: 0.9rem;
    color: #b2bec3;
    margin-top: 20px;
}

/* Animation đơn giản */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive cho điện thoại */
@media (max-width: 600px) {
    .headline {
        font-size: 1.8rem;
    }
    .main-container {
        padding: 20px;
    }
    body {
        padding: 10px;
    }
}

/* --- PHẦN THÊM MỚI CHO MYPLACE --- */

/* Ẩn phần tử */
.hidden {
    display: none;
    opacity: 0;
}

/* Hiệu ứng hiện ra từ từ */
.fade-in {
    animation: fadeIn 0.6s ease-forwards;
    display: block !important; /* Bắt buộc hiện */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card sản phẩm */
.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: left; /* Căn trái cho dễ đọc */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-header {
    text-align: center;
    margin-bottom: 20px;
}

.badge {
    background: #d35400;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.product-header h2 {
    color: #2d3436;
    margin-top: 10px;
    font-size: 1.8rem;
}

/* Phần nỗi đau (Pain points) */
.pain-points {
    background: #ffeaa7; /* Màu vàng nhạt cảnh báo */
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-style: italic;
    color: #d35400;
}

.pain-points p {
    margin-bottom: 5px;
}

/* Phần giải pháp */
.solution-box h3 {
    color: #27ae60; /* Màu xanh lá */
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Khu vực download QR */
.download-area {
    text-align: center;
    border-top: 2px dashed #eee;
    padding-top: 20px;
    margin-bottom: 20px;
}

.android-only {
    font-weight: bold;
    color: #3d3d3d;
    margin-bottom: 10px;
}

.qr-code {
    border: 5px solid #2d3436;
    border-radius: 10px;
    width: 150px;
    height: 150px;
    transition: transform 0.3s;
}

.qr-code:hover {
    transform: scale(1.1);
}

.scan-note {
    font-size: 0.9rem;
    color: #b2bec3;
    margin-top: 5px;
}

/* Nút đóng */
.btn-secondary {
    display: block;
    width: 100%;
    background: #ecf0f1;
    color: #7f8c8d;
    border: none;
    padding: 10px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #bdc3c7;
    color: #2c3e50;
}