body {
margin: 0;
    padding: 0;
    font-family: sans-serif;
    color: #0078D4;
    line-height: 1.6;
    background-color: #0F0E15;
    padding-top: 80px;
    overflow-x: hidden;
}


button.hidden {
    display: none !important;
}

/* Header (สำหรับทั้ง index.html & installation.html) */
header {
    color: #0078D4;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

/* Container (ใช้กับทุก Section) */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px 0; */
    color: #0078D4;
}

/* Hero Section (หน้า index.html) */
.hero-section {
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.hero-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    /* color: #fff; */
}

.hero-section p {
    font-size: 1.1rem;
    /* color: #fff; */
    /* color: #555; */
    margin-bottom: 20px;
}

/* ปุ่มดาวน์โหลด (หน้า index.html) */
.download-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    background: #0078D4;
    /* สีปุ่ม */
    color: #0078D4;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #0078D4;
    /* เปลี่ยนเฉดเมื่อ hover */
}

/* ลิงก์คู่มือการติดตั้ง (หน้า index.html) */
.install-guide {
    margin-top: 20px;
}

.install-guide-link {
    color: #0078D4;
    font-weight: bold;
    text-decoration: none;
}

.install-guide-link:hover {
    text-decoration: underline;
}

/* Section Title */
.section-title {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    text-align: center;
}

/* Agent Info Grid (Platforms) - หน้า index.html */
.agent-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.info-card {
    background: 
        linear-gradient(180deg, #1C1B27 0%, #0F0E15 100%),
        linear-gradient(90deg, 
                        rgba(181, 167, 138, 0.9),
                        rgba(181, 167, 138, 0.9)
                    );
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent #0078D4;
    border-radius: 20px;
    padding: 20px;
    color: white;
    box-sizing: border-box;
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #0078D4;
}

.info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #0078D4;
}

.info-card li {
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.info-card li::before {
    content: "• ";
    color: #0078D4;
    position: absolute;
    left: 0;
}

/* หน้า Installation Guide (installation.html) */
.install-steps {
    margin-top: 20px;
}

.install-steps h3 {
    margin-top: 30px;
    margin-bottom: -10px;
    font-weight: bold;
    font-size: 1.35rem;
    color: #0078D4;
}

.install-steps p {
    margin: 10px 0;
    margin-left: 25px;
}

/* สำหรับรูปภาพในแต่ละขั้นตอน */
.step-image {
    margin: 20px 0;
    text-align: center;
}

.step-image img {
    max-width: 80%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.step-image figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #c7c7c7;
}

.note {
    background: #8a7b3f;
    padding: 15px;
    margin-top: 20px;
    border-left: 4px solid #0078D4;
    color: #fff;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1C1B27 0%, #0F0E15 100%);
    color: #0078D4;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Transparent Navbar (โปร่งใส + อยู่บนสุดตลอดเวลา) */
.navbar {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #1C1B27 0%, #0F0E15 100%);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 15px 0;
    height: auto;
    min-height: 100px;
}

/* Navbar Container */
.navbar .container {
display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px; /* เพิ่ม padding ซ้าย-ขวา */
    max-width: 1280px; /* ล็อกความกว้างไม่ให้กว้างเกิน */
    margin: 0 auto;
}

/* โลโก้ / Brand */
.brand a {
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0 15px;
    background-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo {
height: 80px !important;
    width: auto;
    object-fit: contain;
    margin-right: 20px; /* เว้นระยะจากเมนู */
}

/* เมนู */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 700;
}
.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #0078D4;
    text-decoration: none;
    font-style: bold;
    font-size: 1rem;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 3px;
    font-weight: 700;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* จัดวางกลางจอ */
.logo-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 500;
}

.logo-text-center {
    font-size: 5rem;
    font-weight: bold;
    background-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

.logo-sub-text-center {
    color: rgb(195, 191, 191);
    font-size: 0.8rem;
    margin: -40px 150px 50px 150px;
    font-weight: 100;
}

/* ปุ่ม Get Start - ขอบโค้งมน ขอบสีรุ้ง ตัวหนังสือขาว */
.get-start-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background-color: transparent;
    border: 3px solid transparent;
    border-radius: 30px;
    background-image: linear-gradient(black, black), 
                      linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* เมื่อเอาเมาส์ชี้ - เปลี่ยนพื้นหลังเป็นสีรุ้ง ตัวหนังสือขาว */
.get-start-btn:hover {
    background-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    color: black;
    border-color: transparent;
}

/* พื้นหลังเฉพาะหน้า index.html */
.index-page {
    background: 
        radial-gradient(circle, rgba(0,0,0,1) 10%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0) 100%),
        url('assets/images/vetcc.gif') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.btn-outline {
    margin: 5px;
    padding: 12px 24px;
    display: inline-block;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    color: #0078D4;
    border: 2px solid #0078D4;
    border-radius: 10px;
    background-color: transparent;
    transition: all 0.3s ease;
    text-align: center;
    width: auto;
    min-width: 160px;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 7px;
}

.btn-outline:hover {
    background-color: #0078D4;
    color: #1C1B27;
}

.logo-img-brand {
    width: 800px;
    height: auto;
    display: block;
    top: 50%;
    left: 50%;
    margin-bottom: -140px;
}

.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 500;
}

/* จัด Section ให้ปุ่มอยู่ตรงกลางจอ */
.centered-section {
    display: flex;
    flex-direction: column;
    justify-content: center; /* จัดกึ่งกลางแนวตั้ง */
    align-items: center; /* จัดกึ่งกลางแนวนอน */
    height: 60vh; /* ปรับความสูงให้ปุ่มอยู่กลางหน้า */
}

/* จัดปุ่มเลือก OS ให้กึ่งกลาง */
.select-guide-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ปรับแต่งปุ่ม */
.select-guide-container button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #0078D4;
    background: transparent;
    color: #0078D4;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.select-guide-container button:hover {
    background: #0078D4;
    color: #0078D4;
}

/* จัดการรูปภาพของแต่ละขั้นตอน */
.step-image {
    text-align: center;
    margin: 20px 0;
}

.step-image img {
    max-width: 80%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.step-image figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #c7c7c7;
}

.install-guide-section {
    padding: 140px 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.install-guide-section h2 {
    margin-top: 20px;
}

/* ปรับขนาด pre เพื่อให้โค้ดไม่ติดขอบ */
pre {
    background: #1C1B27;
    color: #0078D4;
    padding: 12px 20px; /* เพิ่ม padding ภายในกล่องโค้ด */
    border-radius: 8px;
    overflow-x: auto; /* ป้องกันการตัดโค้ด */
}

/* จัดรูปภาพของแต่ละขั้นตอนให้อยู่กลางมากขึ้น */
.step-image {
    text-align: center;
    margin: 20px auto; /* ปรับระยะห่างให้อยู่ตรงกลาง */
}

/* ปรับขนาดและการจัดวางของรูปภาพ */
.step-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    text-align: center;
    max-width: 600px; /* กำหนดความกว้างสูงสุดเพื่อป้องกันการล้น */
}

.step-image img {
    width: 100%;
    max-width: 500px; /* จำกัดขนาดรูปภาพให้ไม่ใหญ่เกินไป */
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.step-image figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #c7c7c7;
}

/* ปรับระยะห่างของปุ่มเลือก OS และเนื้อหา */
.select-guide-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px; /* ลดระยะห่างจากหัวข้อ */
}

/* ปรับการจัดวางของ Section */
.install-guide-section {
    padding-top: 10px; /* ลด padding ด้านบน */
    margin-top: -30px; /* ย้ายขึ้นไป */
}

/* ปรับขนาดและการจัดวางของรูปภาพ */
.step-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    text-align: center;
    max-width: 800px; /* ขยายขนาดรูป */
}

.step-image img {
    width: 100%;
    max-width: 700px; /* ปรับขนาดรูปภาพให้ใหญ่ขึ้น */
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.copy-button {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    font-size: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
}

.copy-button:hover {
    color: #00d9ff;
}

.code-block-container {
    position: relative;
    margin-bottom: 10px;
}
