:root {
    --primary-color: #0056b3;
    --secondary-color: #28a745;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --warning-bg: #fff3cd;
    --warning-border: #ffeeba;
    --warning-text: #856404;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Sarabun', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

/* Back Button Navigation */
.nav-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Sarabun', sans-serif;
}

.btn-back:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 30px 0 40px 0;
    border-bottom: 1px solid #eee;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero-content {
    flex: 1.2;
    min-width: 300px;
}

.tagline {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

.pain-points {
    background-color: #fff0f2;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.pain-points h3 {
    color: #dc3545;
    margin-bottom: 5px;
}

/* Section Styling */
.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-top: 4px solid var(--secondary-color);
}

.benefit-card h4 {
    color: var(--dark-color);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

/* Mixing Sequence */
.mixing-list {
    list-style: none;
    counter-reset: mixing-counter;
}

.mixing-item {
    counter-increment: mixing-counter;
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.mixing-item::before {
    content: counter(mixing-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    font-weight: bold;
}

.mixing-item strong {
    color: var(--primary-color);
}

.mixing-item-highlight {
    background-color: #e6f2ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.text-danger {
    color: #dc3545;
    font-weight: bold;
}

/* Warning Box */
.warning-box {
    background-color: var(--warning-bg);
    border: 1px solid var(--warning-border);
    color: var(--warning-text);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.warning-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Action Footer Button */
.bottom-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
}

.btn-footer-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Sarabun', sans-serif;
}

.btn-footer-back:hover {
    background-color: #5a6268;
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .pain-points {
        text-align: left;
    }

    th,
    td {
        padding: 10px;
        font-size: 0.95rem;
    }
}