/* style.css */
:root {
    --primary-green: #11782b;
    /* Green cho nút bấm và điểm nhấn chính */
    --text-green: #4db358;
    /* Xanh sáng để làm chữ nổi bật trên nền tối */
    --dark-bg: #0a0c0a;
    /* Nền tối chung chuyên nghiệp */
    --card-bg: rgba(18, 22, 18, 0.85);
    /* Nền cho thẻ card trong suốt mờ mờ */
    --text-light: #eaedea;
    --text-muted: #aab5ab;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Hệ thống font chữ theo thiết kế được yêu cầu */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-green {
    color: var(--text-green);
}

/* ================= HERO SECTION ================= */
.hero-section {
    min-height: 100vh;
    background-image: url('hero_bg.png');
    /* Gọi ảnh do AI vẽ */
    background-size: cover;
    background-position: left center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

.hero-container {
    display: flex;
    justify-content: flex-end;
    /* Đẩy khối card sang phải giống ảnh tham khảo */
    align-items: center;
    width: 100%;
}

.hero-spacer {
    display: none;
}

@media(min-width: 1024px) {
    .hero-spacer {
        display: block;
        /* Ở màn hình to thì bộ chống này giữ không gian bên trái */
        flex: 1.5;
    }
}

.hero-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Hiệu ứng kính mờ (Glassmorphism) */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    max-width: 580px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-green);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--text-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(77, 179, 88, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(77, 179, 88, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(77, 179, 88, 0);
    }
}

.hero-card .headline {
    font-size: 2.4rem;
    line-height: 1.35;
    margin-bottom: 20px;
}

.hero-card .sub-headline {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(17, 120, 43, 0.1);
    padding: 10px 25px 10px 10px;
    border-radius: 50px;
    border: 1px solid rgba(77, 179, 88, 0.2);
}

.expert-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--text-green);
    box-shadow: 0 0 15px rgba(77, 179, 88, 0.3);
    filter: sepia(0.2) brightness(0.9) contrast(1.1);
    /* Lọc giả lập tông phim để hợp nền đen */
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-info p {
    color: var(--text-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    background-color: var(--primary-green);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #178e34;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 142, 52, 0.4);
}

.btn-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}


/* ================= OTHER SECTIONS ================= */
.dark-section {
    background-color: #080a08;
    padding: 100px 0;
}

.green-section {
    background-color: #111a13;
    background-image: radial-gradient(circle at center, #14351e 0%, #080a08 100%);
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.text-center {
    text-align: center;
}

/* ======== GRID CÁC LỖI KINH DOANH ======== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.error-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.error-card:hover {
    transform: translateY(-8px);
    border-color: #ff4b4b;
    /* Màu đỏ cho nỗi đau */
}

.error-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ff4b4b;
}

.error-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ======== LỢI ÍCH DỊCH VỤ ======== */
.benefit-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    transition: background 0.3s;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.check-icon {
    background: var(--primary-green);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(17, 120, 43, 0.5);
}

.benefit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--text-green);
}

.benefit-content p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ======== CTA CUỐI TRANG ======== */
.cta-box {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input {
    padding: 16px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.05rem;
    font-family: var(--font-body);
    transition: border 0.3s;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* ======== FOOTER ======== */
footer {
    background: #020302;
    padding: 30px 0;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #111;
}

/* ======== NAV HEADER ======== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-green);
}

.btn-outline {
    border: 1px solid var(--primary-green);
    color: var(--text-green);
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

/* ======== QUY TRÌNH ======== */
.process-step {
    text-align: center;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: rgba(77, 179, 88, 0.2);
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

/* ======== FAQ ======== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ======== CASE STUDY ======== */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
}

.case-study {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(18, 22, 18, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.case-study img {
    width: 50%;
    object-fit: cover;
    min-height: 350px;
    border-right: 1px solid var(--border-color);
}

.case-content {
    padding: 40px;
    width: 50%;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-metric {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(17, 120, 43, 0.15) 0%, rgba(10, 15, 10, 0.6) 100%);
    border: 1px solid rgba(77, 179, 88, 0.25);
    padding: 18px 15px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(17, 120, 43, 0.3);
    border-color: var(--text-green);
}

.metric-icon {
    font-size: 2.2rem;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(77, 179, 88, 0.5));
}

.metric-data h4 {
    font-size: 2.2rem;
    color: var(--text-green);
    font-family: var(--font-heading);
    margin-bottom: 0;
    text-shadow: 0 0 15px rgba(77, 179, 88, 0.5);
    line-height: 1.1;
}

.metric-data p {
    font-size: 0.85rem;
    color: #bbb;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.testimonial-quote {
    margin-top: 25px;
    padding-left: 18px;
    border-left: 4px solid var(--primary-green);
    font-style: italic;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* ======== PRICING ======== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-green);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card.popular {
    border-color: var(--primary-green);
    background: rgba(17, 120, 43, 0.05);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.tag-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.pkg-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pkg-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-green);
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.pkg-price span {
    font-size: 1rem;
    color: #888;
    font-family: var(--font-body);
}

.pkg-features {
    text-align: left;
    margin-bottom: 40px;
}

.pkg-features li {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.pkg-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-green);
    font-weight: bold;
}

.pkg-features li.disabled {
    color: #555;
    text-decoration: line-through;
}

.pkg-features li.disabled::before {
    content: '✕';
    color: #555;
}

/* ======== RESPONSIVE ======== */
@media(max-width: 900px) {
    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .hero-spacer {
        display: none;
    }

    /* Tắt bộ đẩy trên màn hình vừa */
}

@media(max-width: 768px) {
    .dark-section {
        padding: 60px 0;
    }

    .green-section {
        padding: 70px 0;
    }

    .hero-section {
        padding-top: 120px;
    }

    /* Tránh bị Header đè */
    .hero-card {
        margin: 0 auto;
        padding: 30px;
        max-width: 90%;
    }

    .hero-card .headline {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 12px;
    }

    .case-study {
        flex-direction: column;
    }

    .case-study img,
    .case-content {
        width: 100%;
        border-right: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Ép xuống 1 cột */
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 480px) {
    .dark-section {
        padding: 45px 0;
    }

    .green-section {
        padding: 50px 0;
    }

    .main-header .logo {
        font-size: 1.2rem;
    }

    .main-header .btn-outline {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 90px 0 0 0;
    }

    .hero-card {
        margin: 0;
        padding: 30px 15px;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .hero-card .headline {
        font-size: 1.6rem;
    }

    .hero-card .sub-headline {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .metric-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Tách metric xuống 1 dọc trên điện thoại */
    .metric-data h4 {
        font-size: 1.8rem;
    }

    .case-content {
        padding: 25px 15px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pkg-price {
        font-size: 2.2rem;
    }

    .cta-section .headline {
        font-size: 1.8rem;
    }
}