:root {
    --red: #c9090b;
    --red-dark: #940509;
    --red-light: #fff0f0;
    --orange: #f4582b;
    --dark: #18232d;
    --gray: #65717c;
    --line: #e9edf0;
    --white: #ffffff;
    --font-thai: "Sarabun", sans-serif;
    --font-heading: "Kanit", sans-serif;
    --shadow: 0 14px 40px rgba(24, 35, 45, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--dark);
    background: #fff;
    font-family: var(--font-thai);
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(20, 30, 40, 0.06);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    min-height: 80px;
    gap: 36px;
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 190px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
}

.main-nav a {
    position: relative;
    color: #29343d;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--red);
}

.main-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: -11px;
    left: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--red);
    content: "";
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--font-thai);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #df1114, #a80004);
    box-shadow: 0 8px 18px rgba(185, 0, 5, 0.20);
}

.btn-primary:hover {
    box-shadow: 0 12px 24px rgba(185, 0, 5, 0.30);
}

.btn-outline {
    color: var(--red);
    border-color: var(--red);
    background: #fff;
}

.btn-outline:hover {
    color: #fff;
    background: var(--red);
}

.btn-lg {
    min-height: 54px;
    padding: 12px 28px;
    font-size: 18px;
}

.btn-icon,
.login-icon {
    margin-right: 10px;
    font-size: 22px;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: var(--dark);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 585px;
    background: #fffaf7;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.8;
    background:
        radial-gradient(circle at 71% 18%, rgba(252, 205, 180, 0.75), transparent 24%),
        radial-gradient(circle at 5% 96%, rgba(255, 208, 181, 0.48), transparent 25%),
        linear-gradient(90deg, #fff9f4 0%, #fffdfb 44%, #f9e6dc 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    min-height: 585px;
    gap: 30px;
}

.hero-content {
    padding: 70px 0;
}

.eyebrow,
.section-kicker,
.cta-kicker {
    color: var(--red);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.hero h1,
.section-heading h2,
.about-content h2,
.cta-box h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.22;
}

.hero h1 {
    max-width: 610px;
    color: var(--dark);
    font-size: clamp(38px, 4.3vw, 62px);
}

.hero h1 span {
    color: var(--red);
}

.hero-description {
    max-width: 550px;
    margin: 20px 0 10px;
    color: #4a5761;
    font-size: 19px;
    line-height: 1.65;
}

.hero-highlight {
    display: inline-block;
    margin: 4px 0 26px;
    padding-bottom: 3px;
    color: var(--red);
    border-bottom: 2px solid var(--red);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.supported-mini {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-top: 30px;
    color: #7c858c;
    font-size: 14px;
}

.supported-mini strong {
    color: #46515a;
    font-family: var(--font-heading);
    font-size: 15px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 500px;
}

.hero-light {
    position: absolute;
    top: 42px;
    right: 1%;
    width: 480px;
    height: 400px;
    border-radius: 50%;
    filter: blur(10px);
    background: rgba(255, 255, 255, 0.6);
}

.dashboard-image {
    position: relative;
    z-index: 1;
    width: min(650px, 100%);
    filter: drop-shadow(0 25px 25px rgba(55, 24, 16, 0.20));
}

.section {
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 2px;
    font-size: clamp(32px, 3.5vw, 46px);
}

.section-heading h2 span {
    color: var(--red);
}

.section-heading p {
    margin: 10px auto 0;
    color: var(--gray);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px 18px 24px;
    border: 1px solid #f0eeee;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 22px rgba(32, 39, 46, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: var(--red);
    background: var(--red-light);
    font-family: var(--font-heading);
    font-size: 37px;
    font-weight: 500;
}

.feature-card h3 {
    margin: 0 0 7px;
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.3;
}

.feature-card p {
    margin: 0;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.55;
}

.platform-box {
    margin-top: 38px;
    padding: 24px 30px 18px;
    border: 1px solid #ebeff2;
    border-radius: 16px;
    background: linear-gradient(100deg, #fafbfd, #f4f7f8);
    text-align: center;
}

.platform-box-title {
    margin-bottom: 16px;
    color: #4a535b;
    font-family: var(--font-heading);
    font-weight: 600;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 55px;
}

.platform-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3e4951;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
}

.platform-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.grab {
    color: #00a651;
}

.grab .platform-mark {
    background: #00a651;
}

.lineman {
    color: #06a94e;
}

.lineman .platform-mark {
    background: #06a94e;
}

.shopee {
    color: #ee4d2d;
}

.shopee .platform-mark {
    background: #ee4d2d;
}

.upcoming {
    color: #7d878e;
    font-size: 16px;
}

.upcoming .platform-mark {
    background: #aeb6bb;
}

.platform-note {
    margin: 13px 0 0;
    color: #90999f;
    font-size: 14px;
}

.about-section {
    padding: 85px 0;
    background: #fff8f5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image img {
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    margin-top: 4px;
    font-size: clamp(32px, 3.2vw, 46px);
}

.about-content p {
    margin: 17px 0;
    color: var(--gray);
    font-size: 18px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #38434c;
}

.check-list li::before {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    content: "✓";
    font-size: 12px;
    font-weight: 700;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.text-link span {
    font-size: 24px;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.cta-section {
    padding: 76px 0;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 44px 52px;
    overflow: hidden;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.16), transparent 25%),
        linear-gradient(100deg, #890307, #c70b0e 52%, #e53d25);
}

.cta-kicker {
    color: #ffcdc0;
}

.cta-box h2 {
    margin-top: 3px;
    font-size: clamp(28px, 3vw, 40px);
}

.cta-box p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

.btn-white {
    flex: 0 0 auto;
    gap: 10px;
    color: var(--red);
    background: #fff;
    box-shadow: 0 8px 20px rgba(34, 0, 0, 0.18);
}

.site-footer {
    padding: 28px 0;
    color: rgba(255, 255, 255, 0.74);
    background: #17232d;
}

.footer-wrap {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-brand img {
    width: 145px;
    filter: brightness(0) invert(1);
}

.footer-message {
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 18px;
    margin-left: auto;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card:nth-child(4) {
        grid-column: 1 / 2;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.9fr;
    }

    .main-nav {
        gap: 20px;
    }

    .nav-wrap {
        gap: 20px;
    }

    .footer-wrap {
        flex-wrap: wrap;
    }

    .footer-links {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 30px, 620px);
    }

    .nav-wrap {
        min-height: 68px;
    }

    .brand img {
        width: 160px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 15px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: #fff;
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        padding: 11px 10px;
    }

    .main-nav a.active::after {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-actions .btn {
        min-height: 37px;
        padding: 7px 12px;
        font-size: 14px;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 60px 0 22px;
    }

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

    .hero-description {
        font-size: 17px;
    }

    .hero-visual {
        min-height: auto;
        padding: 0 0 40px;
    }

    .dashboard-image {
        width: 95%;
        margin: 0 auto;
    }

    .hero-light {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(4) {
        grid-column: auto;
    }

    .about-grid {
        gap: 35px;
    }

    .about-image {
        order: 2;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 34px 28px;
    }

    .footer-wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .footer-message {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 480px) {
    .nav-actions .btn-outline {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-highlight {
        font-size: 20px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions .btn {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 16px;
    }

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

    .section,
    .about-section {
        padding: 65px 0;
    }

    .platform-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .platform-box {
        padding: 22px;
        text-align: left;
    }

    .platform-box-title {
        text-align: left;
    }

    .section-heading p {
        font-size: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}