        /* --- CSS Styles (Updated) --- */
        
        :root {
            --blue: #0A68F8;
            --dark-blue: #011E41;
            --light-blue: #E0EEFF;
            --yellow: #FFC107;
            --light: #FFFFFF;
            --grey: #F0F2F5;
            --dark-grey: #667085;
            --dark: #333333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'IBM Plex Sans Thai', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--grey);
            color: var(--dark-grey);
            line-height: 1.7;
        }

        a {
            text-decoration: none;
            color: var(--blue);
        }

        ul {
            list-style: none;
        }

        .container {
            max-width: auto;
            margin: 0 auto;
            padding: 0 100px;
        }

        h1, h2, h3, h4, h5, h6 {
            color: var(--dark-blue);
            font-weight: 600;
        }

        .title {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
        }

        .subtitle {
            text-align: center;
            font-size: 18px;
            color: var(--dark-grey);
            margin-top: -15px;
            margin-bottom: 60px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn-primary {
            background: var(--blue);
            color: var(--light);
            border: 2px solid var(--blue);
        }

        .btn-primary:hover {
            background: var(--dark-blue);
            border-color: var(--dark-blue);
            transform: translateY(-2px);
        }

        /* --- Navbar --- */
        .main-navbar {
            background: var(--dark-blue);
            color: var(--light);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .main-navbar .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center; /* <-- **ตัวนี้คือพระเอก** จัดทุกอย่างให้อยู่กลางแนวตั้ง */
            width: 100%;
            margin: 0 auto;
            padding: 0 100px; /* Padding ซ้าย-ขวา */
            min-height: 70px; /* <-- กำหนดความสูงขั้นต่ำให้ navbar */
            gap: 100px;
        }

        .main-navbar .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--light);
        }

        .main-navbar .logo span {
            color: var(--yellow);
        }

        .main-navbar .nav-links {
            display: flex;
            padding-top: 12px;
            align-items: center;
        }

        .main-navbar .nav-links-left {
            display: flex;
            align-items: center;
            margin-right: 40px;
        }

        .main-navbar .nav-links-right {
            display: flex;
            align-items: center;
            border-left: 2px solid var(--dark-grey);
            padding-left: 20px;
        }

        .main-navbar .nav-links-left a,
        .main-navbar .nav-links-right a {
            color: var(--light);
            margin-left: 35px;
            font-weight: 500;
            position: relative;
            padding-bottom: 5px;
        }

        .main-navbar .nav-links-left a:hover,
        .main-navbar .nav-links-right a:hover {
            color: var(--yellow);
        }

        .main-navbar .nav-links-left a::after,
        .main-navbar .nav-links-right a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background-color: var(--yellow);
            transition: width 0.3s ease;
        }

        .main-navbar .nav-links-left a:hover::after,
        .main-navbar .nav-links-right a:hover::after {
            width: 100%;
        }

        /* --- Hero Section --- */
        .hero-section {
            background: linear-gradient(to right, var(--dark-blue), #012852);
            color: var(--light);
            padding: 120px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section .container {
            position: relative;
            z-index: 1;
        }

        .hero-section h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 25px;
            color: var(--light);
            line-height: 1.4;
        }

        .hero-section h1 .highlight {
            color: var(--yellow);
        }

        .hero-section p {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 850px;
            margin: 0 auto 40px auto;
        }

        .hero-section .btn-secondary {
            background: transparent;
            color: var(--light);
            border: 2px solid var(--light);
            margin-left: 15px;
        }

        .hero-section .btn-secondary:hover {
            background: var(--light);
            color: var(--dark-blue);
            transform: translateY(-2px);
        }

        /* --- Features Section --- */
        .features-section {
            padding: 100px 0;
            background: var(--light);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            align-items: stretch;
        }

        .feature-card {
            background: var(--grey);
            padding: 40px 30px;
            border-radius: 12px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            border: 1px solid #EAEAEA;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .feature-card i {
            font-size: 50px;
            color: var(--blue);
            margin-bottom: 25px;
        }

        .feature-card h3 {
            font-size: 24px;
            font-weight: 600;
            color: var(--dark-blue);
            margin-bottom: 15px;
        }

        .feature-card p {
            font-size: 16px;
            color: var(--dark-grey);
            flex-grow: 1;
        }

        /* --- Pricing Section --- */
        .pricing-section {
            padding: 100px 0;
            background: var(--grey);
        }

        .pricing-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            align-items: stretch;
        }

        .pricing-card {
            background: var(--light);
            padding: 35px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            width: 340px;
            display: flex;
            flex-direction: column;
            border: 2px solid transparent;
            transition: all .3s ease;
            position: relative;
            overflow: hidden;
        }

        .pricing-card.popular {
            border-color: var(--yellow);
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            z-index: 1;
        }

        .pricing-card.popular::before {
            content: 'ยอดนิยม';
            position: absolute;
            top: 12px;
            right: -35px;
            background: var(--yellow);
            color: var(--dark-blue);
            font-size: 14px;
            font-weight: 600;
            padding: 6px 40px;
            transform: rotate(45deg);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .pricing-card h3 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--dark-blue);
        }

        .pricing-card .price {
            font-size: 56px;
            font-weight: 700;
            color: var(--blue);
            margin: 10px 0 5px 0;
            line-height: 1;
        }

        .pricing-card .price sup {
            font-size: 24px;
            font-weight: 600;
        }

        .pricing-card .duration {
            font-size: 16px;
            font-weight: 500;
            color: var(--dark-grey);
            margin-bottom: 25px;
            display: block;
        }

        .pricing-card .saving {
            font-size: 15px;
            color: var(--dark-grey);
            margin-bottom: 30px;
            min-height: 45px;
        }

        .btn-purchase {
            width: 100%;
            padding: 15px;
            border-radius: 8px;
            background: var(--blue);
            color: var(--light);
            font-size: 18px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: background .3s ease, transform .3s ease;
            margin-top: auto;
        }

        .btn-purchase:hover {
            background: var(--dark-blue);
            transform: translateY(-3px);
        }

        .pricing-card.popular .btn-purchase {
            background: var(--yellow);
            color: var(--dark-blue);
        }

        .pricing-card.popular .btn-purchase:hover {
            background: #FFD740;
            color: var(--dark-blue);
        }

        /* --- Footer --- */
        footer {
            background: var(--dark-blue);
            color: var(--light);
            padding: 40px 0;
            text-align: center;
            font-size: 15px;
        }

        footer p {
            margin: 0;
            color: rgba(255, 255, 255, 0.8);
        }

        /* --- Responsive Adjustments --- */
        @media (max-width: 992px) {
            .main-navbar .nav-links {
                display: none;
            }
            .main-navbar .container {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 80px 0;
            }
            .hero-section h1 {
                font-size: 38px;
            }
            .hero-section p {
                font-size: 18px;
            }
            .title {
                font-size: 32px;
            }
            .features-section, .pricing-section {
                padding: 80px 20px;
            }
            .pricing-card.popular {
                transform: translateY(0);
            }
            .pricing-grid, .features-grid {
                gap: 25px;
            }
        }

            /* Style for News Popup */
        #news-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 1055; /* Should be higher than other elements */
            display: none; /* Hidden by default */
            justify-content: center;
            align-items: center;
        }

        .popup-content {
            position: relative;
            background-color: #fff;
            padding: 3px;
            border-radius: 0px;
            max-width: 100%;
            max-height: 100vh;
            width: 600px; /* Or your desired width */
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .popup-content img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 0px;
            background: transparent;
        }

        .close-popup {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.7); /* สีปุ่มเข้ม */
            color: #fff;
            border-radius: 50%;   /* กลมเต็ม */
            width: 28px;
            height: 28px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;      /* ปรับให้พอดี */
            font-weight: bold;
            cursor: pointer;
            border: none;         /* ลบเส้นขอบ */
            line-height: 1;
            overflow: hidden;
        }
        

        .close-popup:hover {
            background-color: #ff0000;
        }