@import url("https://fonts.googleapis.com/css2?family=Kalnia:wght@100..700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background-color: #f9f9f9;
    color: #222;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 16px 64px 16px;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 500;
}

input.bar {
    display: block;
    margin: 0 auto 28px auto;
    width: 60%;
    height: 40px;
    border-radius: 25px;
    border: 2px solid #444;
    padding: 0 20px;
    font-size: 1.1rem;
    outline: none;
    box-sizing: border-box;
    background: #ededed;
    transition: border 0.2s;
}

input.bar:focus {
    border: 2px solid #a084ca;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
}

.card {
    background: rgb(190, 155, 234);
    border-radius: 10px;
    box-shadow: 0 2px 8px #0001;
    padding: 24px 18px 18px 18px;
    width: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card h2 {
    font-size: 1.1rem;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
}

.faq {
    margin-top: 24px;
}

.faq h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #2b134b;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: scale(1.05);
    background-color: #DF8DE3;
}

a {
    background: #2b134b;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 16px;
    width: 220px;
    align-self: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    transform: scale(1.05);
    background-color: #DF8DE3;
}