/* --- BIẾN TOÀN CỤC (Hệ màu Modern Blue) --- */
:root {
    --primary: #2563eb;          /* Xanh dương chính */
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --success: #10b981;          /* Xanh lá (Hoàn thành) */
    --warning: #f59e0b;          /* Vàng (Đang chờ) */
    --danger: #ef4444;           /* Đỏ (Lỗi) */
    --text-main: #1e293b;        /* Chữ chính */
    --text-muted: #64748b;       /* Chữ nhạt */
    --bg-body: #f8fafc;          /* Nền trang nhạt */
    --border-color: #e2e8f0;     /* Màu viền */
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* --- RESET & TỔNG QUAN --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* --- CẤU TRÚC THẺ (Cards) --- */
.card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1.25rem 1.5rem;
    background-color: white !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-weight: 700;
    color: var(--text-main);
}

.card-body {
    padding: 1.5rem;
}

/* --- STEPPER (Tiến trình) --- */
.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.4;
    transition: 0.3s;
}

.step.active {
    opacity: 1;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

/* --- FORM & INPUTS --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
}

.form-input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* --- NÚT BẤM (Buttons) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    gap: 0.6rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* --- ACCORDION (Duyệt Kho Email) --- */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    background: white;
}

.accordion-header {
    background: #fcfcfc;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: #f1f5f9;
}

/* --- TAG PILLS --- */
.tag-pill {
    cursor: pointer;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px dashed var(--primary);
    display: inline-block;
    transition: 0.2s;
}

.tag-pill:hover {
    background: var(--primary);
    color: white;
    border-style: solid;
}

/* --- TRẠNG THÁI (Badges) --- */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-running { background: #dcfce7; color: #166534; }
.status-ready { background: #e0f2fe; color: #075985; }
.status-stopped { background: #fee2e2; color: #991b1b; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header {
        height: auto;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .menu {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    .menu a {
        padding: 0.5rem 0.8rem;
    }
}

/* --- MODERN TOP NAVIGATION --- */
.nav-container {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item i {
    font-size: 1rem;
    transition: transform 0.2s;
}

.nav-item:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-item:hover i {
    transform: translateY(-1px);
}

.nav-item.active {
    color: var(--primary);
    background: var(--primary-light);
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px 10px 0 0;
}

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.action-btn {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: 0.2s;
}

.action-btn:hover {
    color: var(--primary);
}

.user-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .brand-name, .nav-item span {
        display: none;
    }
    .nav-links {
        gap: 0.25rem;
    }
    .nav-item {
        padding: 0.75rem;
    }
    .nav-item i {
        font-size: 1.25rem;
    }
}
/* style.css - Sync additions */
.hidden-section { display: none; }
.italic { font-style: italic; }
.fw-extrabold { font-weight: 800; }
.border-bottom-dashed { border-bottom: 1px dashed #e2e8f0; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .card-header h1 { font-size: 1.5rem; }
}
/* --- PHẦN BỔ SUNG CHO PRICING & SERVICES --- */

/* Grid cho bảng giá 5 cột */
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1.5rem; 
    margin-bottom: 3rem; 
}

/* Hiệu ứng nổi bật cho Card được chọn */
.pricing-card.featured { 
    border: 2px solid var(--primary) !important; 
    background: #f0f7ff; 
    transform: scale(1.05); 
    z-index: 2; 
}

.popular-badge { 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--primary); 
    color: white; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 700;
}

/* Danh sách tính năng trong bảng giá */
.feature-list { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 2rem; 
    flex-grow: 1; 
}
.feature-list li { 
    font-size: 0.85rem; 
    margin-bottom: 0.75rem; 
    color: var(--text-muted); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.feature-list li i { 
    color: var(--success); 
    font-size: 0.9rem; 
}

/* Nút liên hệ đồng bộ */
.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
    margin-top: 2rem; 
}
.btn-contact { 
    padding: 1rem; 
    border-radius: 12px; 
    font-weight: 700; 
    text-decoration: none !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    color: white !important; 
    transition: 0.2s; 
}
.btn-messenger { background: #0084ff; }
.btn-telegram { background: #0088cc; }
.btn-contact:hover { transform: scale(1.02); opacity: 0.9; }

/* Tiền tệ */
.price-vnd { font-size: 1.75rem; font-weight: 800; color: var(--text-main); }
.price-usdt { font-size: 1rem; color: var(--text-muted); font-weight: 500; }