/* ==========================================================================
   RESET & SYSTEM CONSTANTS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Anuphan", sans-serif;
}

:root {
    --brand-dark: #001f42;    /* สีน้ำเงินเข้มลึก ให้ความรู้สึกลึกลับและปลอดภัย */
    --brand-blue: #004b93;    /* สีน้ำเงินไอทีหลัก */
    --brand-cyan: #00b4d8;    /* สีฟ้านีออน สำหรับเน้นเทคโนโลยี */
    --text-main: #1e293b;     /* สีเทาเข้มเกือบดำ สำหรับเนื้อหา */
    --bg-gray: #f8fafc;       /* พื้นหลังสะอาดตา */
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 31, 66, 0.05);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.8;
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-cyan);
}
#contact-hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue-base) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.badge {
    background-color: rgba(0, 180, 216, 0.15);
    color: var(--cyan-highlight);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

#contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

#contact-hero p {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.85;
}
/* ==========================================================================
   PRODUCT HERO SECTION
   ========================================================================== */
#product-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-blue) 100%);
    color: var(--white);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.badge {
    background-color: rgba(0, 180, 216, 0.15);
    color: var(--brand-cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

#product-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#product-hero p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 40px auto;
    opacity: 0.85;
}

.btn {
    display: inline-block;
    background-color: var(--brand-cyan);
    color: var(--white);
    padding: 14px 38px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 180, 216, 0.6);
    background-color: #0093b2;
}

/* ==========================================================================
   FEATURES GRID (ยืดหยุ่น แข็งแรง ไม่พังง่าย)
   ========================================================================== */
#features {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--brand-cyan);
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 31, 66, 0.1);
    border-color: rgba(0, 75, 147, 0.1);
}

.icon-box {
    font-size: 32px;
    margin-bottom: 20px;
    background-color: rgba(0, 75, 147, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.feature-card p {
    color: #64748b;
    font-size: 15px;
}

/* ==========================================================================
   WHY SHARETECH SECTION
   ========================================================================== */
#why-sharetech {
    padding: 100px 0;
    background-color: var(--white);
}

.why-wrapper {
    max-width: 800px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 50px;
    border-radius: 16px;
}

.why-text h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

.why-text ul {
    list-style: none;
}

.why-text li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 16px;
}

/* ใส่เครื่องหมายเช็คถูกหน้าข้อดี */
.why-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

/* ==========================================================================
   FOOTER & CALL TO ACTION
   ========================================================================== */
footer {
    background-color: var(--brand-dark);
    color: #cbd5e1;
    padding: 80px 0 40px 0;
    text-align: center;
}

footer h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-info {
    font-size: 16px;
    color: var(--brand-cyan);
    font-weight: 600;
    margin-top: 12px;
}

.copyright {
    margin-top: 60px;
    font-size: 13px;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (ปรับหน้าจอมือถืออัตโนมัติ)
   ========================================================================== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 0;
        gap: 10px;
    }

    #product-hero h1 {
        font-size: 2rem;
    }

    #product-hero p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr; /* ยุบรวมเป็นแถวเดียวในมือถือเพื่อไม่ให้เบียดกัน */
    }

    .why-wrapper {
        padding: 30px 20px;
    }
}
/* ตั้งค่าพื้นฐาน */


        /* กล่องครอบบทความหลัก */
        .container1 {
            max-width: 800px;
            margin: 0 auto;
            background-color: #ffffff;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        /* หัวข้อหลัก */
               /* ข้อความเกริ่นนำ */
        .intro-text1 {
            font-size: 18px;
            color: #475569;
            margin-bottom: 30px;
        }

        .intro-text1 p {
            margin-bottom: 16px;
        }

        .intro-text strong {
            color: #ef4444;
            font-weight: 600;
        }

        /* การจัดแต่งกล่องสัญญาณเตือน (Feature Cards) */
        .feature-card1 {
            background-color: #f1f5f9;
            border-left: 5px solid #3b82f6;
            padding: 24px;
            margin-bottom: 20px;
            border-radius: 0 12px 12px 0;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        /* เอฟเฟกต์เมื่อชี้เมาส์ที่กล่อง */
        .feature-card1:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
            background-color: #f8fafc;
        }

        /* เปลี่ยนสีขอบของการเตือนแต่ละข้อให้เด่นขึ้น */
        .feature-card1:nth-child(odd) {
            border-left-color: #ef4444;
        }

        /* หัวข้อย่อยในกล่อง */
        .feature-card1 h2 {
            color: #1e293b;
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        /* รายละเอียดในกล่อง */
        .feature-card1 p {
            font-size: 16px;
            color: #475569;
        }

        /* ตกแต่งลิงก์ให้สวยงาม */
        .feature-card1 a {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dashed #3b82f6;
            transition: color 0.2s;
        }

        .feature-card1 a:hover {
            color: #1d4ed8;
            border-bottom-style: solid;
        }

.map-container {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* เงาจางๆ สไตล์มินิมอล */
            border: none !important;
        }
        .contact-card {
            background: #f8fafc; /* เปลี่ยนพื้นหลังการ์ดเป็นสีเทาอ่อนนุ่มตา */
            border: none !important;
            border-radius: 16px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border: none !important;
        }
        .icon-box {
            width: 48px;
            height: 48px;
            background: #2563eb;
            color: #ffffff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 15px;
        }
        .contact-link {
            color: #475569;
            text-decoration: none;
            transition: color 0.2s;
        }
        .contact-link:hover {
            color: #2563eb;
        }
