/* Storefront landing page for Bangkok native-IP VPS.
   Scoped under .lp so nothing here reaches the client area. */

.lp {
    --lp-brand: #2563eb;
    --lp-brand-dark: #1d4ed8;
    --lp-accent: #06b6d4;
    --lp-ink: #0f172a;
    --lp-body: #334155;
    --lp-muted: #64748b;
    --lp-line: #e2e8f0;
    --lp-soft: #f8fafc;
    --lp-radius: 14px;

    color: var(--lp-body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    background: #fff;
}

.lp * { box-sizing: border-box; }

.lp h1, .lp h2, .lp h3, .lp h4 {
    color: var(--lp-ink);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.lp p { margin: 0; }

.lp-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section { padding: 88px 0; }
.lp-section--soft { background: var(--lp-soft); }

.lp-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.lp-head h2 { font-size: 34px; margin-bottom: 14px; }
.lp-head p { color: var(--lp-muted); font-size: 17px; }

.lp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lp-brand);
    margin-bottom: 12px;
}

/* ---------- top bar ---------- */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 20px;
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.lp-nav__brand img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    flex: none;
    border-radius: 8px;
}

.lp-nav__brand span {
    letter-spacing: .04em;
}

.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.lp-nav__links a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: 15px;
    transition: color .15s;
}

.lp-nav__links a:hover { color: #fff; }

/* ---------- buttons ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s, box-shadow .15s, background .15s;
    white-space: nowrap;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn--primary {
    background: var(--lp-brand);
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .28);
}

.lp-btn--primary:hover { background: var(--lp-brand-dark); color: #fff; }

.lp-btn--ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.lp-btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.lp-btn--outline {
    background: #fff;
    border-color: var(--lp-line);
    color: var(--lp-ink);
}

.lp-btn--outline:hover { border-color: var(--lp-brand); color: var(--lp-brand); }

.lp-btn--sm { padding: 9px 18px; font-size: 14px; }
.lp-btn--block { width: 100%; }
.lp-btn[disabled], .lp-btn.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---------- hero ---------- */

.lp-hero {
    background:
        radial-gradient(900px 420px at 78% -12%, rgba(6, 182, 212, .28), transparent 60%),
        linear-gradient(160deg, #0f172a 0%, #172554 58%, #1e3a8a 100%);
    color: #e2e8f0;
    padding: 84px 0 92px;
}

.lp-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.lp-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(6, 182, 212, .16);
    border: 1px solid rgba(6, 182, 212, .4);
    color: #67e8f9;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.lp-hero h1 {
    color: #fff;
    font-size: 46px;
    letter-spacing: -.02em;
    margin-bottom: 18px;
}

.lp-hero__sub {
    font-size: 18px;
    color: rgba(226, 232, 240, .82);
    margin-bottom: 26px;
    max-width: 540px;
}

.lp-hero__points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 11px;
}

.lp-hero__points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(226, 232, 240, .92);
    font-size: 15px;
}

.lp-hero__points svg { flex: none; margin-top: 4px; color: #22d3ee; }

.lp-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.lp-hero__card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(8px);
}

.lp-hero__card h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }

.lp-spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .13);
    font-size: 15px;
}

.lp-spec:last-of-type { border-bottom: 0; }
.lp-spec dt { color: rgba(226, 232, 240, .66); }
.lp-spec dd { color: #fff; font-weight: 600; margin: 0; }

/* ---------- trust strip ---------- */

.lp-strip {
    background: #fff;
    border-bottom: 1px solid var(--lp-line);
}

.lp-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 30px 0;
}

.lp-strip__item { text-align: center; }
.lp-strip__item strong { display: block; color: var(--lp-ink); font-size: 20px; }
.lp-strip__item span { color: var(--lp-muted); font-size: 14px; }

/* ---------- feature cards ---------- */

.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: 24px;
}

.lp-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 28px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.lp-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    transform: translateY(-2px);
}

.lp-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--lp-brand);
    margin-bottom: 16px;
}

.lp-card h3 { font-size: 17px; margin-bottom: 9px; }
.lp-card p { color: var(--lp-muted); font-size: 15px; }

/* ---------- pricing ---------- */

.lp-price {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 28px;
    align-items: start;
}

.lp-panel {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    padding: 32px;
}

.lp-slider__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.lp-slider__label { font-size: 15px; color: var(--lp-muted); }

.lp-slider__count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.lp-slider__count b {
    font-size: 40px;
    color: var(--lp-ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lp-slider__count span { color: var(--lp-muted); font-size: 15px; }

.lp-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--lp-line);
    outline: none;
    margin: 20px 0 6px;
}

.lp-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lp-brand);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .45);
    cursor: pointer;
}

.lp-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lp-brand);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .45);
    cursor: pointer;
}

.lp-range__scale {
    display: flex;
    justify-content: space-between;
    color: var(--lp-muted);
    font-size: 13px;
}

.lp-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.lp-quick button {
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid var(--lp-line);
    background: #fff;
    color: var(--lp-body);
    font-size: 14px;
    cursor: pointer;
    transition: all .15s;
}

.lp-quick button:hover { border-color: var(--lp-brand); color: var(--lp-brand); }
.lp-quick button.is-active {
    background: var(--lp-brand);
    border-color: var(--lp-brand);
    color: #fff;
}

.lp-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--lp-line);
}

.lp-specs__item {
    background: var(--lp-soft);
    border-radius: 11px;
    padding: 15px 17px;
}

.lp-specs__item span { display: block; color: var(--lp-muted); font-size: 13px; margin-bottom: 3px; }
.lp-specs__item strong { color: var(--lp-ink); font-size: 16px; }

.lp-total {
    position: sticky;
    top: 92px;
    background: linear-gradient(165deg, #0f172a, #1e3a8a);
    border-radius: 18px;
    padding: 30px;
    color: #e2e8f0;
}

.lp-total h3 { color: #fff; font-size: 16px; margin-bottom: 20px; }

.lp-total__amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.lp-total__amount b { font-size: 42px; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-total__amount span { color: rgba(226, 232, 240, .7); font-size: 16px; }
.lp-total__unit { color: rgba(226, 232, 240, .66); font-size: 14px; margin-bottom: 22px; }

.lp-total__rows { margin-bottom: 22px; }

.lp-stock {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.55;
}

.lp-stock--ok {
    background: rgba(34, 197, 94, .13);
    border: 1px solid rgba(34, 197, 94, .32);
    color: #86efac;
}

.lp-stock--warn {
    background: rgba(251, 146, 60, .14);
    border: 1px solid rgba(251, 146, 60, .35);
    color: #fdba74;
}

.lp-stock svg { flex: none; margin-top: 3px; }

.lp-total__note { color: rgba(226, 232, 240, .55); font-size: 13px; margin-top: 14px; text-align: center; }

/* ---------- tier table ---------- */

.lp-table-wrap { overflow-x: auto; margin-top: 34px; }

.lp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    overflow: hidden;
    font-size: 15px;
    min-width: 640px;
}

.lp-table th {
    background: var(--lp-soft);
    color: var(--lp-ink);
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--lp-line);
    white-space: nowrap;
}

.lp-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--lp-line);
    white-space: nowrap;
}

.lp-table tr:last-child td { border-bottom: 0; }
.lp-table tr.is-active td { background: #eff6ff; }
.lp-table tr.is-active td:first-child { box-shadow: inset 3px 0 0 var(--lp-brand); }
.lp-table .lp-price-cell { color: var(--lp-brand); font-weight: 700; }

/* ---------- fit / not fit ---------- */

.lp-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.lp-fit__col {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 28px;
}

.lp-fit__col h3 { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 18px; }
.lp-fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-fit__col li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.lp-fit__col li svg { flex: none; margin-top: 4px; }
.lp-fit--yes li svg { color: #16a34a; }
.lp-fit--no li svg { color: #94a3b8; }
.lp-fit--no li { color: var(--lp-muted); }

/* ---------- trial ---------- */

.lp-trial {
    background: linear-gradient(140deg, #0f172a, #1e3a8a 72%);
    border-radius: 20px;
    padding: 48px;
    color: #e2e8f0;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 40px;
    align-items: center;
}

.lp-trial h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.lp-trial p { color: rgba(226, 232, 240, .8); margin-bottom: 22px; }

.lp-trial__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.lp-trial__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.lp-trial__list svg { flex: none; margin-top: 4px; color: #22d3ee; }

.lp-trial__box {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: 26px;
}

/* ---------- faq ---------- */

.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }

.lp-faq details {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 11px;
    padding: 0 22px;
    transition: border-color .15s;
}

.lp-faq details[open] { border-color: #c7d2fe; }

.lp-faq summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 600;
    color: var(--lp-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}

.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: "+";
    color: var(--lp-brand);
    font-size: 22px;
    font-weight: 400;
    flex: none;
}

.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details p { padding: 0 0 20px; color: var(--lp-muted); font-size: 15px; }

/* ---------- footer ---------- */

.lp-foot {
    background: #0f172a;
    color: rgba(226, 232, 240, .62);
    padding: 44px 0;
    font-size: 14px;
}

.lp-foot__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.lp-foot__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-foot__brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}
.lp-foot a:hover { color: #fff; }
.lp-foot__links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    .lp-hero__grid, .lp-price, .lp-trial { grid-template-columns: 1fr; }
    .lp-hero h1 { font-size: 34px; }
    .lp-total { position: static; }
    .lp-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .lp-fit { grid-template-columns: 1fr; }
    .lp-section { padding: 60px 0; }
    .lp-trial { padding: 34px; }
    .lp-nav__links a:not(.lp-btn) { display: none; }
}

@media (max-width: 560px) {
    .lp-head h2 { font-size: 26px; }
    .lp-panel { padding: 22px; }
}
