:root {
    --brand-blue: #2B5F8F;
    --brand-blue-dark: #1A3A52;
    --brand-blue-light: #5B9BD5;
    --brand-orange: #F7941D;
    --brand-orange-dark: #d97a10;
    --text-primary: #1A3A52;
    --text-muted: #6B7280;
    --bg-light: #F5F7FA;
    --radius: 16px;
    --font-thai: 'Sarabun', sans-serif;
    --font-heading: 'Kanit', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-thai);
    color: var(--text-primary);
    background: #fff;
    margin: 0;
}

/* ── Navbar ── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #E5E7EB;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.lp-logo img { height: 32px; width: auto; }
.lp-logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
}

.lp-nav-actions { display: flex; gap: 0.5rem; align-items: center; }

.btn-lp-login {
    font-family: var(--font-thai);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.btn-lp-login:hover { background: var(--brand-blue); color: #fff; }

.btn-lp-register {
    font-family: var(--font-thai);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 50rem;
    border: none;
    color: #fff;
    background: var(--brand-orange);
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.btn-lp-register:hover { background: var(--brand-orange-dark); transform: translateY(-1px); }

/* ── Hero ── */
.lp-hero {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1A3A52 55%, #0f2235 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(91,155,213,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(247,148,29,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.lp-hero-badge {
    display: inline-block;
    background: rgba(247,148,29,0.15);
    color: #FDBA74;
    border: 1px solid rgba(247,148,29,0.3);
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.lp-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.lp-hero h1 span { color: var(--brand-orange); }

.lp-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.lp-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    font-family: var(--font-thai);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    background: var(--brand-orange);
    color: #fff;
    border: none;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(247,148,29,0.4);
}
.btn-hero-primary:hover {
    background: var(--brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(247,148,29,0.5);
    color: #fff;
}

.btn-hero-secondary {
    font-family: var(--font-thai);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.btn-hero-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ── Stats ── */
.lp-stats {
    background: var(--brand-blue-dark);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.lp-stat { text-align: center; }
.lp-stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-orange);
}
.lp-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
}

/* ── Sections ── */
.lp-section { padding: 4rem 1.5rem; }
.lp-section-alt { background: var(--bg-light); }

.lp-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
}
.lp-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.lp-section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* ── Feature Cards ── */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }

.lp-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.lp-card:hover { box-shadow: 0 8px 32px rgba(43,95,143,0.12); transform: translateY(-3px); }

.lp-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.icon-blue { background: #EEF2FF; }
.icon-orange { background: #FFF7ED; }
.icon-green { background: #F0FDF4; }

.lp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.lp-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── How It Works ── */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
}

.lp-step { text-align: center; }

.lp-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.lp-step h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.lp-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Roles ── */
.lp-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }

.lp-role {
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.role-customer { background: #EFF6FF; }
.role-merchant { background: #F0FDF4; }
.role-tech     { background: #FFF7ED; }
.role-sales    { background: #FAF5FF; }

.lp-role-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.lp-role h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.lp-role p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ── CTA ── */
.lp-cta {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    padding: 4.5rem 1.5rem;
    text-align: center;
}
.lp-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}
.lp-cta p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

/* ── Footer ── */
.lp-footer {
    background: #111827;
    padding: 2.5rem 1.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}
.lp-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.lp-footer-logo {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}
.lp-footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.lp-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s;
}
.lp-footer-links a:hover { color: #fff; }

/* ── Max width wrapper ── */
.lp-container { max-width: 900px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 576px) {
    .lp-nav { padding: 0.65rem 1rem; }
    .lp-logo-text { font-size: 1rem; }
    .lp-stats { gap: 1.5rem; }
    .lp-section { padding: 3rem 1rem; }
    .lp-cta { padding: 3rem 1rem; }
    .lp-footer-inner { flex-direction: column; align-items: flex-start; }
}
