/* ไฟล์หลัก index.html */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
}

.hero-gradient {
    background:
        linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.82)),
        url('/images/maxtech-hero.webp');
    background-size: cover;
    background-position: center;
}

.product-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary svg {
    transform: rotate(180deg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.seo-prose p {
    margin-bottom: 1rem;
    line-height: 1.95;
}

.seo-prose h2,
.seo-prose h3 {
    scroll-margin-top: 100px;
}


/* Maxtech Blog Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;700&display=swap');

.maxtech-blog {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* Hero Section */
.maxtech-hero {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    color: white;
    padding: 60px 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.promo-tag {
    background: #ffcc00;
    color: #000;
    padding: 6px 20px;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

/* Pricing Card */
.price-container {
    background: #f8f9fa;
    border: 2px solid #eee;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.price-main { text-align: center; }
.old-price { text-decoration: line-through; color: #999; font-size: 1.4rem; }
.new-price { color: #e63946; font-size: 3.5rem; font-weight: 800; display: block; line-height: 1; }

.bonus-list { list-style: none; padding: 0; margin: 0; }
.bonus-list li { margin-bottom: 10px; font-weight: 500; }
.bonus-list li::before { content: "✅"; margin-right: 10px; }

/* Table Style */
.table-responsive { overflow-x: auto; margin: 30px 0; }
.maxtech-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.maxtech-table th {
    background-color: #0056b3;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.maxtech-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
}

.maxtech-table tr:nth-child(even) { background-color: #fcfcfc; }

/* Button */
.btn-line {
    display: inline-block;
    background: #00b900;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s;
    margin-top: 20px;
}

.btn-line:hover { transform: scale(1.05); color: white; box-shadow: 0 5px 15px rgba(0,185,0,0.3); }

/* Responsive */
@media (max-width: 600px) {
    .price-container { flex-direction: column; text-align: center; }
    .new-price { font-size: 2.8rem; margin-bottom: 20px; }
}