/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables (ธีมส้ม) */
:root {
    --primary-color: #ea580c; /* สีส้มเข้ม (Brand Color) */
    --primary-hover: #c2410c;
    --secondary-bg: #fff7ed; /* สีพื้นหลังส้มอ่อนๆ */
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --white: #ffffff;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.2);
}

.btn-login:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

/* ขีดเส้นใต้แบบไฮไลท์ปากกา */
.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #fdba74; /* ส้มอ่อน */
    z-index: -1;
    opacity: 0.4;
    border-radius: 4px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--secondary-bg);
}

.trust-badge span {
    color: var(--text-gray);
    margin-right: 15px;
    font-size: 14px;
}

.trust-badge i {
    color: #22c55e; /* สีเขียวสำหรับ icon check */
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--secondary-bg);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    transition: 0.3s;
}

.btn-white:hover {
    background: #f8fafc;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #111827;
    color: #d1d5db;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none; /* ซ่อนเมนูบนมือถือไปก่อน */
    }
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-text h1 {
        font-size: 32px;
    }
}