/* ================================
   PALETTE CORDYDEW
   ================================ */
:root {
    --primary: #A78EC7;     /* tím pastel */
    --accent: #5C3A87;      /* tím đậm */
    --subbg: #F9E7C4;       /* vàng kem */
    --highlight: #E2C07A;   /* vàng đậm */
    --bg: #FFF9F2;          /* nền tổng thể */
    --text: #4c3a57;
    --white: #ffffff;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Be Vietnam Pro", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ================================
   HEADER
   ================================ */
header {
    width: 100%;
    background: var(--bg);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eeded3;
}

header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

nav a {
    margin: 0 14px;
    text-decoration: none;
    font-size: 15px;
    color: var(--accent);
    transition: 0.2s;
}

nav a:hover {
    color: var(--primary);
}

.btn-header {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
}

.btn-header:hover {
    background: var(--highlight);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    background: linear-gradient(135deg, #FFF9F2, #A78EC7 85%);
    padding: 80px 0;
}

.hero .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
}

.hero-text p {
    font-size: 18px;
    margin-top: 16px;
}

.btn-lg {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 30px;
    background: var(--accent);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-lg:hover {
    background: var(--primary);
}

.hero img {
    width: 340px;
    margin: auto;
}

/* ================================
   SECTIONS
   ================================ */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 32px;
}

/* ================================
   GRID / CARDS
   ================================ */

.grid-3, .grid-4 {
    display: grid;
    gap: 22px;
    max-width: 1100px;
    margin: auto;
    padding: 0 16px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    padding: 24px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #eee0d4;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    text-align: center;
}

/* Glass effect for benefit cards */
.glass {
    background: rgba(255,255,255,0.55);
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px;
    text-align: center;
    font-weight: 500;
}

/* ================================
   FORM KHẢO SÁT
   ================================ */
.form-box {
    max-width: 480px;
    margin: auto;
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #e4d5c7;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(92,58,135,0.3);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border-radius: 14px;
    font-weight: 600;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

.btn-submit:hover {
    background: var(--highlight);
}

/* ================================
   FOOTER
   ================================ */
footer {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    header nav { display: none; }
}
