@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');

:root {
    --bg: #ffffff;
    --soft: #f5f7f9;
    --text: #18212b;
    --muted: #687481;
    --border: #dfe4e8;
    --accent: #e59b32;
    --accent-dark: #cc8420;
    --dark: #202a34;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans Thai", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}


/* NAVBAR */

.navbar {
    height: 76px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.96);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.brand-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.brand-sub {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: var(--text);
}


/* HERO */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            90deg,
            rgba(245,247,249,.9) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(245,247,249,.9) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
}

.hero-content {
    padding-top: 50px;
    padding-bottom: 50px;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent-dark);
    border-left: 3px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 24px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.18;
    letter-spacing: -2px;
}

.hero p {
    max-width: 600px;
    color: var(--muted);
    font-size: 17px;
    margin-top: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--dark);
}

.btn-primary {
    background: var(--dark);
    color: white;
}

.btn-primary:hover {
    background: #111820;
}

.btn-secondary {
    background: white;
    color: var(--dark);
}


/* CONTENT */

.section {
    padding: 100px 0;
}

.section-soft {
    background: var(--soft);
}

.section-label {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section h2 {
    font-size: 36px;
    line-height: 1.3;
}

.section-description {
    max-width: 720px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 45px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.feature-card {
    background: white;
    min-height: 230px;
    padding: 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.number {
    font-family: monospace;
    color: var(--accent-dark);
    font-size: 13px;
}

.feature-card h3 {
    font-size: 19px;
    margin-top: 40px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 10px;
}


/* FOOTER */

footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 25px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inner p {
    color: #9ba4ad;
    font-size: 13px;
    margin-top: 4px;
}

.footer-links a {
    color: #c9cfd5;
    text-decoration: none;
    font-size: 13px;
}

.copyright {
    color: #808b95;
    font-size: 12px;
    border-top: 1px solid #36414c;
    margin-top: 35px;
    padding-top: 20px;
}


/* MOBILE */

@media (max-width: 700px) {

    .container {
        width: min(100% - 32px, 1120px);
    }

    .navbar {
        height: 68px;
    }

    nav a:not(:last-child) {
        display: none;
    }

    .brand-sub {
        display: none;
    }

    .hero {
        min-height: 540px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 70px 0;
    }

    .section h2 {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-card h3 {
        margin-top: 25px;
    }

    .footer-inner {
        align-items: flex-start;
        gap: 25px;
        flex-direction: column;
    }
}