/* www.nomadml.in.th, moved out of the page so the Content-Security-Policy
   can forbid inline styles. */
:root {
    --web-bg-color: #252525;
    --primary-black-color: #343434;
    --primary-black-color-hover: #3E3E3E;
    --navbar-hover-bg: #5C5C65;
    --text-color: #E8E8E8;
    --text-color-secondary: #D1D1D1;
    --text-color-muted: #888888;
    --red-button-bg: #8F1919;
    --red-button-bg-hover: #C42323;
    --gray-border: #616161;
    --custom-blue-color: #3D9CCC;
    --web-title-color: #E68176;
    --notice-bg: rgba(143, 27, 27, 0.15);
    --notice-border: #c42323;
    --notice-text: #f0a0a0;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
    margin: 0;
    font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background-color: var(--web-bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

h1 { font-size: 2em; margin: 0 0 .25em; }
h2 { font-size: 1.55em; margin: 0; }
p  { margin: 0 0 1em; }
a  { color: var(--custom-blue-color); }

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    background-color: var(--primary-black-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-brand img { height: 32px; width: auto; display: block; }
.nav-link {
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    transition: background-color .2s;
}
.nav-link:hover { background-color: var(--navbar-hover-bg); }
.nav-link .active { color: var(--web-title-color); font-weight: 700; }
.nav-link { display: inline-block; }

/* Main */
.main-content {
    flex: 1;
    padding: 48px 112px;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    margin-bottom: 64px;
}
.hero-text { text-align: center; max-width: 620px; }
.web-title1, .web-title2, .web-title3 { font-weight: 700; color: var(--web-title-color); }
.web-description { font-weight: 650; color: var(--text-color); margin-top: 16px; }
.hero-image img { width: 256px; height: 352px; object-fit: contain; }

.notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border: 1px solid var(--notice-border);
    background: var(--notice-bg);
    color: var(--notice-text);
    border-radius: 999px;
    font-weight: 600;
}
.notice-badge::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--notice-border);
}

.contact-line { margin-top: 16px; color: var(--text-color-secondary); }
.contact-line strong { color: var(--text-color); user-select: all; }

/* On-premise section */
.feature-section { text-align: center; padding-top: 32px; margin-bottom: 40px; }
.feature-title { font-weight: 700; color: var(--web-title-color); }
.feature-subtitle { font-weight: 650; margin: 12px 0; }

/* Footer */
.app-footer-bar {
    background: var(--primary-black-color);
    border-top: 1px solid var(--gray-border);
    padding: 12px 24px;
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-color-secondary);
}

@media (max-width: 992px) {
    .main-content { padding: 32px 24px; }
    .hero-section { flex-direction: column-reverse; gap: 24px; }
    .hero-image img { width: 160px; height: 200px; }
}
@media (max-width: 576px) {
    .main-content { padding: 24px 16px; }
    .footer-inner { justify-content: center; text-align: center; }
}
    
