/* ===== GLOBAL ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: whitesmoke;
    color: #0f172a;
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
}

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

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
    background: whitesmoke;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-img {
    height: 42px;
}

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

.nav a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.2s ease;
    font-size: 14px;
}

.nav a:hover {
    color: #1e3a8a;
    background: #e5e7eb;
}

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

.lang-switch button {
    margin-left: 4px;
    background: #16233b;
    border: 1px solid #243a63;
    padding: 6px 10px;
    color: #b8cfff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
}

.lang-switch button.active {
    background: #4dc3ff;
    color: #0b1526;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #4dc3ff;
    color: #0b1526;
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: #6cd6ff;
}

.btn-outline {
    border: 1px solid #4dc3ff;
    color: #4dc3ff;
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-outline:hover {
    background: rgba(77,195,255,0.12);
}

.btn-large {
    padding: 12px 26px;
    font-size: 16px;
}

/* ===== PROMO BAR ===== */
.promo-bar {
    background: whitesmoke;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}

/* ===== HERO ===== */
.hero {
    padding: 80px 0;
    background: whitesmoke;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1 1 360px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 8px;
    color: #0f172a;
}

.hero-sub {
    font-size: 18px;
    color: #334155;
    margin-bottom: 18px;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.hero-bullets li::before {
    content: "• ";
    color: #4dc3ff;
    margin-right: 4px;
}

.hero-bullets li {
    margin: 4px 0;
    color: #0f172a;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.hero-note {
    font-size: 12px;
    color: #8fa3c6;
}

.hero-visual {
    flex: 0 1 320px;
    display: flex;
    justify-content: center;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.hero-panel {
    padding: 20px;
}

.hero-logo {
    width: 70%;
    margin: 0 auto 14px;
}

.hero-panel-header {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.hero-panel-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.hero-panel-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* ===== SECTION BASE ===== */
.section {
    padding: 70px 0;
}

.section-alt {
    background: whitesmoke;
}

.section-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f172a;
}

.section-sub {
    color: #6b7280;
    margin-bottom: 28px;
    max-width: 720px;
}

/* ===== SPEC GRID ===== */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.spec-item {
    padding: 20px;
}

.spec-item h3 {
    color: #1e3a8a;
    font-size: 18px;
    margin-bottom: 8px;
}

/* ===== SHARED HOSTING ===== */
.shared-grid {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1fr);
    gap: 22px;
}

.shared-main {
    padding: 22px;
}

.shared-note {
    padding: 22px;
}

.shared-list {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 0;
}

.shared-list li::before {
    content: "✓ ";
    color: #4dd48a;
}

/* ===== COMPARE TABLE ===== */
.compare-wrapper {
    padding: 22px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.compare-table th,
.compare-table td {
    padding: 10px 12px;
    border: 1px solid #243456;
    text-align: center;
}

.compare-table th {
    background: #16253d;
    color: #eaf3ff;
    font-weight: 600;
}

.highlight-cell {
    background: #133455;
    color: #4dc3ff;
    font-weight: 700;
}

/* ===== TRUST ===== */
.trust-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 20px;
}

.trust-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.trust-icon {
    font-size: 26px;
}

.trust-title {
    font-weight: 600;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.feature-item {
    padding: 20px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.plan {
    padding: 22px;
}

.plan-featured {
    border: 2px solid #4dc3ff;
}

.badge {
    display: inline-block;
    padding: 4px 9px;
    font-size: 11px;
    border-radius: 999px;
    background: #4dc3ff;
    color: #061121;
    margin-bottom: 12px;
}

.price {
    font-size: 30px;
    font-weight: 700;
    margin: 8px 0;
    color: #0f172a;
}

.plan-sub {
    color: #475569;
    margin-bottom: 16px;
}

/* ===== DEMO ===== */
.demo {
    display: flex;
    justify-content: center;
}

/* ===== CONTACT ===== */
.contact {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
    gap: 26px;
    align-items: flex-start;
}

.muted {
    color: #475569;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

.form-status {
    margin-top: 6px;
    font-size: 13px;
}

/* ===== FOOTER ===== */
.footer {
    background: whitesmoke;
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
}

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

.footer-logo {
    width: 110px;
    height: auto;
    opacity: 0.9;
}

.footer-links span {
    margin-left: 16px;
    cursor: pointer;
    color: #334155;
}

.footer-links span:hover {
    color: #1e3a8a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-inner {
        flex-direction: column;
    }

    .shared-grid,
    .contact {
        grid-template-columns: 1fr;
    }

    .nav {
        justify-content: center;
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}
