@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/BeVietnamPro-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/BeVietnamPro-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/BeVietnamPro-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/BeVietnamPro-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/BeVietnamPro-ExtraBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/BeVietnamPro-ExtraBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --vam-font-sans: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    --vam-font-code: "Cascadia Mono", Consolas, "Be Vietnam Pro", monospace;
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--vam-font-sans);
}

body {
    font-weight: 400;
    letter-spacing: -0.012em;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.vam-hero h1,
.vam-final-cta h2,
.vam-price > strong {
    font-family: var(--vam-font-sans);
    font-weight: 800;
    letter-spacing: -0.045em;
}

p,
li,
summary,
.vam-setting,
.vam-step span {
    line-height: 1.65;
}

.vam-kicker,
.vam-chip,
.vam-panel-label,
.vam-studio-bar,
.vam-scene-list-head,
.vam-timeline,
.vam-mini-planner,
.vam-regenerate,
.vam-prompt-visual {
    letter-spacing: 0.035em;
}

.vam-studio-bar strong,
.vam-prompt-visual {
    font-family: var(--vam-font-code);
}

.vam-pack,
.vam-pack i,
.vam-pack b,
.vam-pack small {
    font-family: var(--vam-font-sans);
}

.vam-pack b {
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.vam-pack small {
    font-weight: 700;
    letter-spacing: 0;
}

.vam-timeline span {
    padding-inline: 2px;
    overflow: hidden;
    text-align: center;
    font-size: clamp(0.38rem, 0.8vw, 0.52rem);
    line-height: 1.15;
}

.vam-mini-planner span,
.vam-regenerate,
.vam-lock-visual {
    overflow-wrap: anywhere;
}

.vam-step {
    position: relative;
    min-height: 230px;
    padding: 28px 24px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vam-step:first-child {
    padding-left: 0;
}

.vam-step b {
    margin-bottom: 24px;
}

.vam-step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(194, 116, 255, 0.32);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(164, 92, 255, 0.14), rgba(244, 103, 197, 0.06));
    color: #d18aff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.vam-step-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vam-step-label {
    display: block;
    max-width: 190px;
    margin-top: auto;
}

.vam-step:hover .vam-step-icon {
    color: #ffb08e;
    border-color: rgba(255, 152, 124, 0.48);
    transform: translateY(-3px);
}

.vam-hero-meta,
.vam-kicker,
.vam-chip,
.vam-panel-label,
.vam-studio-bar span,
.vam-scene-list-head,
.vam-timeline,
.vam-mini-planner,
.vam-regenerate,
.vam-marquee {
    font-family: var(--vam-font-sans);
    font-weight: 600;
}

.vam-module h3,
.vam-price h3,
.vam-inspector h3 {
    line-height: 1.18;
}

/* Thang chữ gọn hơn cho tiêu đề tiếng Việt nhiều dấu và thường dài hơn. */
.vam-hero h1 {
    font-size: clamp(3.8rem, 9.4vw, 8rem);
}

.vam-section-head h2 {
    font-size: clamp(2.3rem, 4.7vw, 4.25rem);
    line-height: 1;
}

.vam-final-cta h2 {
    font-size: clamp(3.4rem, 7.5vw, 6.8rem);
    line-height: 0.88;
}

.vam-content article > h1 {
    font-size: clamp(2.7rem, 6vw, 5.3rem);
}

@media (max-width: 720px) {
    .vam-hero-meta {
        gap: 8px 16px;
        flex-wrap: wrap;
        line-height: 1.45;
    }

    .vam-kicker,
    .vam-chip,
    .vam-panel-label {
        letter-spacing: 0.02em;
    }

    .vam-hero h1 {
        font-size: clamp(3.2rem, 17vw, 5.2rem);
    }

    .vam-section-head h2 {
        font-size: clamp(2.25rem, 11vw, 2.65rem);
    }

    .vam-final-cta h2 {
        font-size: clamp(3rem, 15vw, 3.75rem);
    }

    .vam-step,
    .vam-step:first-child {
        min-height: 190px;
        padding: 24px 20px 28px;
    }

    .vam-step-label {
        max-width: none;
    }
}
