* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1769e0;
    --primary-dark: #104da8;
    --primary-light: #eaf2ff;

    --text: #17243a;
    --text-light: #718096;

    --background: #f5f8fd;
    --white: #ffffff;

    --border: #e2e8f0;

    --green: #168653;
    --green-light: #e7f8ef;

    --shadow: 0 8px 25px rgba(30, 64, 120, 0.07);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    min-height: 78px;

    margin: auto;
    padding: 14px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    color: #101828;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navbar a {
    color: #526078;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    transition: color 0.2s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 10px 16px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;

    transition: 0.2s;
}

.btn-login {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-login:hover {
    background: var(--primary-light);
}

.btn-register {
    color: var(--white);
    background: var(--primary);
}

.btn-register:hover {
    background: var(--primary-dark);
}


/* =========================
   BANNER
========================= */

.page-banner {
    min-height: 330px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px 24px;

    text-align: center;
    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(111, 170, 255, 0.45),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #0d2f70,
            #1769e0
        );
}

.banner-content {
    max-width: 800px;
}

.banner-label {
    display: inline-block;

    margin-bottom: 15px;
    padding: 7px 13px;

    color: #d5e5ff;
    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.page-banner h1 {
    margin-bottom: 15px;

    font-size: 36px;
    line-height: 1.3;
}

.page-banner p {
    color: #e3edff;
    font-size: 15px;
}

.banner-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 25px;
    padding: 13px 22px;

    color: var(--primary-dark);
    background: var(--white);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;

    transition: 0.2s;
}

.banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* =========================
   KHUNG CHUNG
========================= */

.container {
    width: min(1200px, 100%);
    margin: auto;
    padding: 55px 24px 70px;
}

.section-label {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.4;
}

.section-heading p {
    color: var(--text-light);
    font-size: 14px;
}


/* =========================
   GIỚI THIỆU
========================= */

.intro-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    margin-bottom: 65px;
    padding: 30px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;

    box-shadow: var(--shadow);
}

.intro-content {
    max-width: 720px;
}

.intro-content h2 {
    margin-bottom: 12px;
    font-size: 27px;
    line-height: 1.4;
}

.intro-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
}

.intro-badge {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 17px;

    background: var(--green-light);
    border: 1px solid #c9efda;
    border-radius: 12px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--white);
    background: var(--green);

    border-radius: 50%;

    font-size: 20px;
    font-weight: 800;
}

.intro-badge strong {
    display: block;
    font-size: 13px;
}

.intro-badge p {
    color: #5f7d6d;
    font-size: 11px;
}


/* =========================
   QUY TRÌNH 5 BƯỚC
========================= */

.process-section {
    margin-bottom: 75px;
}

/* Dàn thẻ bằng Flexbox, không sử dụng Grid */
.process-grid,
.process-list {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    width: 100%;
    box-sizing: border-box;
}

.process-grid .process-card,
.process-list .process-card {
    width: calc((100% - 68px) / 5);
    box-sizing: border-box;
}

.process-list {
    width: 100%;
    box-sizing: border-box;
}

.process-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 255px;

    padding: 23px 18px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 13px;

    box-shadow: var(--shadow);

    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.process-card:hover {
    transform: translateY(-5px);

    border-color: #a9caff;

    box-shadow: 0 12px 30px rgba(30, 64, 120, 0.12);
}

.process-number {
    position: absolute;
    top: 15px;
    right: 15px;

    color: #a9c9ff;
    font-size: 23px;
    font-weight: 900;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 22px;

    background: var(--primary-light);
    border-radius: 12px;

    font-size: 24px;
}

.process-card h3 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.process-card p {
    flex: 1;

    margin-bottom: 16px;

    color: var(--text-light);
    font-size: 12px;
    line-height: 1.8;
}

.process-link {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}


/* =========================
   HƯỚNG DẪN CHI TIẾT
========================= */

.detail-section {
    margin-bottom: 75px;
}

.detail-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;

    margin-bottom: 22px;
    padding: 30px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow: var(--shadow);

    scroll-margin-top: 100px;
}

.detail-number {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 65px;
    width: 65px;
    height: 65px;

    color: var(--primary);
    background: var(--primary-light);

    border-radius: 14px;

    font-size: 22px;
    font-weight: 900;
}

.step-label {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-content h3 {
    margin-bottom: 13px;

    font-size: 21px;
    line-height: 1.5;
}

.detail-content > p {
    margin-bottom: 16px;

    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
}

.detail-content ul {
    margin-bottom: 20px;
    padding-left: 22px;

    color: #526078;
    font-size: 13px;
}

.detail-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.detail-note {
    margin: 20px 0;
    padding: 16px 18px;

    color: #36634c;
    background: #effaf3;

    border-left: 4px solid #36a269;
    border-radius: 7px;

    font-size: 13px;
    line-height: 1.9;
}

.detail-note strong {
    margin-right: 4px;
}

.detail-note.warning {
    color: #79571e;
    background: #fff8e8;
    border-left-color: #edb64b;
}

.detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 22px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 11px 18px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;

    transition: 0.2s;
}

.primary-button {
    color: var(--white);
    background: var(--primary);
}

.primary-button:hover {
    background: var(--primary-dark);
}

.secondary-button {
    color: var(--primary);
    background: var(--white);

    border: 1px solid #c7dcff;
}

.secondary-button:hover {
    background: var(--primary-light);
}


/* =========================
   LƯU Ý AN TOÀN
========================= */

.safety-section {
    margin-bottom: 75px;
    padding: 35px;

    background: #edf5ff;
    border: 1px solid #d5e6ff;
    border-radius: 15px;
}

.safety-heading {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 30px;
}

.safety-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: var(--white);
    background: var(--primary);

    border-radius: 12px;

    font-size: 23px;
    font-weight: 900;
}

.safety-heading .section-label {
    margin-bottom: 4px;
}

.safety-heading h2 {
    font-size: 23px;
    line-height: 1.4;
}

.safety-grid,
.safety-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

.safety-grid .safety-card,
.safety-list .safety-card,
.safety-list .card {
    width: calc((100% - 18px) / 2);
    box-sizing: border-box;
    min-height: 250px;
}

.safety-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}
.safety-card {
    padding: 22px 18px;
    background: var(--white);
    border: 1px solid #dce8fa;
    border-radius: 11px;
}
.safety-card-icon {
    margin-bottom: 13px;
    font-size: 26px;
}

.safety-card h3 {
    margin-bottom: 9px;
    font-size: 15px;
}

.safety-card p {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.9;
}
/* =========================
   CÂU HỎI THƯỜNG GẶP
========================= */

.faq-section {
    margin-bottom: 75px;
}

.faq-list {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    margin-bottom: 13px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 11px;

    box-shadow: var(--shadow);

    overflow: hidden;
}

.faq-item summary {
    position: relative;

    padding: 19px 50px 19px 22px;

    color: var(--text);
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 20px;

    transform: translateY(-50%);

    color: var(--primary);
    font-size: 24px;
    font-weight: 400;
}

.faq-item[open] summary {
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 19px 22px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.9;
}

/* =========================
   KHU VỰC KÊU GỌI HÀNH ĐỘNG
========================= */

.cta-section {
    padding: 50px 30px;

    text-align: center;
    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(111, 170, 255, 0.4),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #0d2f70,
            #1769e0
        );

    border-radius: 16px;
}

.cta-content {
    max-width: 750px;
    margin: auto;
}

.cta-label {
    display: inline-block;
    margin-bottom: 12px;

    color: #c7dcff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-section h2 {
    margin-bottom: 13px;

    font-size: 27px;
    line-height: 1.5;
}

.cta-section p {
    color: #e3edff;
    font-size: 14px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 25px;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;
    padding: 12px 20px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;

    transition: 0.2s;
}

.cta-primary {
    color: var(--primary-dark);
    background: var(--white);
}

.cta-primary:hover {
    transform: translateY(-2px);
}

.cta-secondary {
    color: var(--white);
    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.6);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* =========================
   FOOTER
========================= */

.footer {
    color: #d4deed;
    background: #101c30;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 45px 24px;

    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
}

.footer-brand {
    flex: 2 1 300px;
    min-width: 0;
}

.footer-links {
    flex: 1 1 140px;
    min-width: 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--white);
}

.footer-brand p {
    max-width: 350px;

    color: #9baac0;
    font-size: 13px;
    line-height: 1.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links h3 {
    margin-bottom: 5px;

    color: var(--white);
    font-size: 15px;
}

.footer-links a {
    color: #aab8cc;
    font-size: 13px;

    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 17px 20px;

    border-top: 1px solid #29364b;

    text-align: center;
    color: #8796ad;
    font-size: 12px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

    .header-container {
        flex-wrap: wrap;
    }

    .navbar {
        order: 3;
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 16px;
    }

    .process-grid,
    .process-list {
        gap: 17px;
    }

    .process-grid .process-card,
    .process-list .process-card {
        width: calc((100% - 34px) / 3);
    }

    .safety-grid .safety-card,
    .safety-list .safety-card,
    .safety-list .card {
        width: calc((100% - 18px) / 2);
    }

    .intro-section {
        align-items: flex-start;
        flex-direction: column;
    }

}


/*TABLET NHỎ*/

@media (max-width: 760px) {

    .header-container {
        padding: 15px 18px;
        gap: 15px;
    }

    .logo {
        font-size: 25px;
    }

    .header-actions {
        margin-left: auto;
    }

    .navbar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;

        padding-bottom: 5px;
    }

    .navbar a {
        font-size: 12px;
    }

    .page-banner {
        min-height: 280px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .container {
        padding: 35px 18px 50px;
    }

    .intro-section {
        padding: 23px;
    }

    .intro-content h2 {
        font-size: 23px;
    }

    .process-grid .process-card,
    .process-list .process-card {
        width: calc((100% - 17px) / 2);
    }

    .detail-card {
        gap: 16px;
        padding: 23px 18px;
    }

    .detail-number {
        width: 50px;
        height: 50px;

        font-size: 18px;
    }

    .detail-content h3 {
        font-size: 19px;
    }

    .safety-section {
        padding: 25px 20px;
    }

    .safety-heading h2 {
        font-size: 20px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-brand {
        flex-basis: 100%;
    }

}
/* ĐIỆN THOẠI*/

@media (max-width: 480px) {

    .header-container {
        padding: 12px;
    }

    .btn-login,
    .btn-register {
        padding: 8px 10px;
        font-size: 11px;
    }

    .navbar {
        gap: 14px;
    }

    .page-banner {
        padding: 40px 18px;
    }

    .page-banner h1 {
        font-size: 23px;
    }

    .page-banner p {
        font-size: 13px;
    }

    .container {
        padding: 27px 12px 35px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .intro-section {
        padding: 19px 16px;
    }

    .intro-content h2 {
        font-size: 21px;
    }

    .intro-badge {
        width: 100%;
    }

    .process-grid .process-card,
    .process-list .process-card {
        width: 100%;
    }

    .process-card {
        min-height: auto;
        padding: 20px;
    }

    .process-card p {
        margin-bottom: 12px;
    }

    .detail-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .detail-number {
        flex: 0 0 45px;
        width: 45px;
        height: 45px;
    }

    .detail-content h3 {
        font-size: 18px;
    }

    .detail-content > p,
    .detail-content ul {
        font-size: 13px;
    }

    .detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .safety-section {
        padding: 22px 15px;
    }

    .safety-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .safety-heading h2 {
        font-size: 18px;
    }

    .safety-grid .safety-card,
    .safety-list .safety-card,
    .safety-list .card {
        width: 100%;
    }

    .faq-item summary {
        padding: 16px 42px 16px 15px;
        font-size: 13px;
    }

    .faq-answer {
        padding: 16px;
    }

    .cta-section {
        padding: 35px 17px;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 35px 20px;
    }

    .footer-brand,
    .footer-links {
        width: 100%;
        flex-basis: auto;
    }

}