/* --- Global Styles --- */
:root {
    --primary-color: #007bff; /* Xanh dương */
    --secondary-color: #ffc107; /* Vàng/Cam nổi bật */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    margin-top: 0;
    line-height: 1.2;
}

/* --- Header --- */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.header-cta-button {
    text-decoration: none;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.header-cta-button:hover {
    background-color: #ffda6a;
}

/* --- CTA Buttons (General) --- */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.primary-cta {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.primary-cta:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.secondary-cta:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}


/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero .lead {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.usp-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
    font-size: 1.1em;
}

.usp-grid i {
    color: var(--secondary-color);
    margin-right: 10px;
}


/* --- Configurator Section --- */
.pricing-config {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.vps-configurator {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.config-item {
    margin-bottom: 30px;
    padding: 10px 0;
}

.config-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--primary-color);
}

.config-item i {
    margin-right: 8px;
}

/* Styling the Range Slider (Kéo thả) */
input[type="range"] {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
    margin-top: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Pricing Summary */
.pricing-summary {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 2px dashed #ccc;
}

.monthly-price-label {
    font-size: 1.2em;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}

.price-display {
    font-size: 2.5em;
    font-weight: bold;
    color: #dc3545; /* Màu đỏ nổi bật cho giá */
    margin-bottom: 20px;
}

#final-price {
    font-size: 1em;
    margin-right: 5px;
}

/* --- Features Section --- */
.features {
    padding: 60px 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Contact Section --- */
.contact-section {
    padding: 60px 0;
    background-color: #e9ecef;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

/* --- Footer --- */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 10px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .usp-grid {
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Trong file style.css */

/* --- Hero Section - Cải thiện CTA nổi bật hơn --- */
.hero {
    /* Giữ nguyên hoặc tăng padding để H1 và CTA có không gian */
    padding: 80px 0 100px; 
    background-image: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Hiệu ứng chuyển màu */
}

/* Hiệu ứng nhấp nháy/lắc nhẹ cho CTA chính (Tăng tỷ lệ Click) */
.primary-cta {
    background-color: #ffc107; /* Màu vàng nổi bật */
    color: #333;
    padding: 18px 40px; /* Nút lớn hơn */
    font-size: 1.25em;
    border: 3px solid white; /* Viền trắng nổi bật */
    animation: pulse 1.5s infinite; /* Thêm hiệu ứng nhấp nháy */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0.4); }
    100% { transform: scale(1); }
}

/* --- Pricing Section - Nổi bật Giá cuối cùng --- */
.pricing-summary {
    background: #fff3cd; /* Màu nền vàng nhạt để nổi bật phần giá */
    border: 3px solid #ffe0a3;
    border-radius: 12px;
    padding: 25px;
}

.price-display {
    font-size: 3.5em; /* Kích cỡ chữ lớn hơn */
    font-weight: 900; /* Rất đậm */
    color: #dc3545; 
    display: block; /* Đảm bảo giá chiếm một dòng */
    margin: 10px 0;
}

/* --- Responsive cho điện thoại (Rất quan trọng cho Quality Score) --- */
@media (max-width: 576px) {
    /* Đảm bảo Hero Section không quá cao trên mobile */
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8em; /* Giảm cỡ chữ H1 */
    }

    .usp-grid {
        gap: 10px;
        font-size: 1em;
    }
    
    .price-display {
        font-size: 2.5em; /* Giảm cỡ chữ giá trên mobile */
    }
}