﻿:root {
    --primary: #163a63;
    --primary-2: #234d7a;
    --secondary: #6fb7dc;
    --secondary-2: #96d1eb;
    --accent: #eaf7fd;
    --accent-2: #f6fbff;
    --success: #1ea97c;
    --white: #ffffff;
    --text: #203548;
    --text-soft: #6d859d;
    --border: #ddebf4;
    --shadow-sm: 0 8px 20px rgba(69, 122, 161, 0.08);
    --shadow-md: 0 18px 40px rgba(69, 122, 161, 0.12);
    --shadow-lg: 0 28px 70px rgba(69, 122, 161, 0.16);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.68;
    background: linear-gradient(180deg, #f8fcff 0%, #f2f8fc 100%);
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.container,
.container-fluid,
.custom-container {
    width: 100%;
}

.custom-container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.hero-section .custom-container {
    padding-left: 40px;
    padding-right: 40px;
}

.hero-grid,
.overview-grid,
.feature-grid,
.process-grid,
.benefit-grid,
.footer-grid,
.dashboard-row,
.cta-box,
.brand-strip-inner {
    min-width: 0;
}

.hero-content,
.hero-visual,
.overview-item,
.feature-card,
.process-card,
.benefit-item,
.stat-card,
.dashboard-card,
.cta-content,
.cta-actions {
    min-width: 0;
}

    .hero-content h1,
    .hero-desc,
    .section-heading h2,
    .section-heading p,
    .dashboard-card h4,
    .dashboard-card p,
    .overview-item h3,
    .feature-card h3,
    .process-card h3,
    .benefit-item h3,
    .overview-item p,
    .feature-card p,
    .process-card p,
    .benefit-item p,
    .brand-title,
    .brand-subtitle {
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

.main-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(111, 183, 220, 0.16);
    box-shadow: 0 8px 30px rgba(69, 122, 161, 0.06);
}

.navbar {
    padding: 10px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.main-logo {
    width: auto;
    height: 46px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    min-width: 0;
}

.brand-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.3px;
    margin: 0;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-top: 3px;
    white-space: nowrap;
}

.nav-menu {
    gap: 6px;
}

.navbar .nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 9px 12px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .navbar .nav-link:hover {
        color: var(--primary) !important;
        background: rgba(111, 183, 220, 0.10);
    }

.nav-cta {
    margin-left: 12px;
}

.btn-login,
.btn-main,
.btn-outline-main,
.btn-outline-light,
.btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-login {
    padding: 10px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary), #58a9d3);
    box-shadow: var(--shadow-sm);
    font-size: 0.96rem;
    border-radius: 12px;
}

    .btn-login:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.hero-section,
.brand-strip,
.section-block,
.cta-section,
.main-footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-section {
    position: relative;
    padding: 95px 0 82px;
    background: radial-gradient(circle at 12% 18%, rgba(150, 209, 235, 0.28), transparent 30%), radial-gradient(circle at 88% 12%, rgba(111, 183, 220, 0.20), transparent 24%), linear-gradient(180deg, #f7fbff 0%, #edf7fc 100%);
}

    .hero-section::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -120px;
        top: -160px;
        background: radial-gradient(circle, rgba(111, 183, 220, 0.18), transparent 65%);
        border-radius: 50%;
        pointer-events: none;
    }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 58px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    max-width: 100%;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(111, 183, 220, 0.20);
    border-radius: 999px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    box-shadow: var(--shadow-sm);
}

.hero-content h1 {
    margin: 22px 0 20px;
    font-size: 3.5rem;
    line-height: 1.08;
    font-weight: 850;
    color: var(--primary);
    max-width: 760px;
}

    .hero-content h1 span {
        color: #59a9d4;
    }

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-soft);
    max-width: 720px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn-main {
    padding: 15px 25px;
    background: linear-gradient(135deg, #7bc0e2, #59a9d4);
    color: #fff;
    box-shadow: var(--shadow-md);
}

    .btn-main:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline-main {
    padding: 15px 25px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(111, 183, 220, 0.26);
    box-shadow: var(--shadow-sm);
}

    .btn-outline-main:hover {
        color: var(--primary);
        transform: translateY(-2px);
        background: #fff;
    }

.btn-outline-light {
    padding: 15px 25px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

    .btn-outline-light:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.14);
        transform: translateY(-2px);
    }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(111, 183, 220, 0.14);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
}

    .stat-card h3 {
        margin: 0 0 8px;
        font-size: 1.9rem;
        font-weight: 800;
        color: var(--primary);
    }

    .stat-card p {
        margin: 0;
        font-size: 0.95rem;
        color: var(--text-soft);
    }

.hero-visual {
    position: relative;
    width: 100%;
}

.dashboard-preview {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(111, 183, 220, 0.18);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.dashboard-top {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #f5fbff 0%, #eef7fc 100%);
    border-bottom: 1px solid rgba(111, 183, 220, 0.12);
}

    .dashboard-top span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #b7daec;
    }

.dashboard-body {
    padding: 24px;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dashboard-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid rgba(111, 183, 220, 0.12);
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 12px 30px rgba(69, 122, 161, 0.06);
}

.large-card {
    padding: 24px;
}

.dashboard-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(30, 169, 124, 0.10);
    color: var(--success);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.dashboard-card h4 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.dashboard-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.96rem;
}

.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(111, 183, 220, 0.16);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    color: var(--primary);
}

    .floating-badge i {
        color: #58a9d3;
    }

.floating-badge-1 {
    left: -18px;
    bottom: 88px;
}

.floating-badge-2 {
    right: -18px;
    top: 78px;
}

.brand-strip {
    background: #fff;
    border-top: 1px solid rgba(111, 183, 220, 0.10);
    border-bottom: 1px solid rgba(111, 183, 220, 0.10);
}

.brand-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
}

.brand-strip-text strong {
    display: block;
    font-size: 1.08rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.brand-strip-text span {
    color: var(--text-soft);
}

.btn-mini {
    padding: 12px 18px;
    color: var(--primary);
    background: #f2f9fd;
    border: 1px solid rgba(111, 183, 220, 0.18);
}

    .btn-mini:hover {
        color: var(--primary);
        transform: translateY(-2px);
        background: #e8f5fb;
    }

.section-block {
    padding: 95px 0;
}

.alt-bg {
    background: linear-gradient(180deg, #f9fcff 0%, #eff8fc 100%);
}

.section-heading {
    margin-bottom: 50px;
}

    .section-heading.center {
        text-align: center;
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-heading span {
        display: inline-block;
        margin-bottom: 12px;
        color: #59a9d4;
        font-size: 0.84rem;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

    .section-heading h2 {
        margin: 0 0 14px;
        font-size: 2.65rem;
        line-height: 1.18;
        font-weight: 850;
        color: var(--primary);
    }

    .section-heading p {
        margin: 0;
        font-size: 1.04rem;
        color: var(--text-soft);
    }

.overview-grid,
.feature-grid,
.process-grid {
    display: grid;
    gap: 24px;
}

.benefit-grid {
    display: grid;
    gap: 22px;
}

.overview-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.benefit-grid {
    grid-template-columns: repeat(2, 1fr);
}

.overview-item,
.feature-card,
.process-card,
.benefit-item {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 24px;
    padding: 30px 26px;
    border: 1px solid rgba(111, 183, 220, 0.14);
    box-shadow: var(--shadow-sm);
    transition: all 0.32s ease;
    height: 100%;
}

    .overview-item:hover,
    .feature-card:hover,
    .process-card:hover,
    .benefit-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
    }

.icon-box,
.feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.45rem;
    color: #59a9d4;
    background: linear-gradient(180deg, #eff8fd 0%, #e4f3fb 100%);
}

.overview-item h3,
.feature-card h3,
.process-card h3,
.benefit-item h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--primary);
}

.overview-item p,
.feature-card p,
.process-card p,
.benefit-item p {
    margin: 0;
    color: var(--text-soft);
}

.feature-card.featured {
    background: linear-gradient(180deg, #79c0e2 0%, #55a9d4 100%);
    border: none;
    box-shadow: 0 24px 60px rgba(89, 169, 212, 0.26);
}

    .feature-card.featured .feature-icon {
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    .feature-card.featured h3,
    .feature-card.featured p {
        color: #fff;
    }

.process-number {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #84c8e8, #58aad4);
    box-shadow: 0 12px 26px rgba(89, 169, 212, 0.24);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

    .benefit-item i {
        width: 58px;
        height: 58px;
        min-width: 58px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        color: #59a9d4;
        background: linear-gradient(180deg, #eff8fd 0%, #e4f3fb 100%);
    }

.cta-section {
    padding: 0 0 95px;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 42px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, #79c0e2 0%, #55a9d4 100%);
    box-shadow: 0 28px 70px rgba(89, 169, 212, 0.24);
}

.cta-content span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.84);
}

.cta-content h2 {
    margin: 0 0 12px;
    font-size: 2.1rem;
    line-height: 1.2;
    font-weight: 850;
}

.cta-content p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.main-footer {
    background: linear-gradient(180deg, #f6fbff 0%, #eff8fc 100%);
    border-top: 1px solid rgba(111, 183, 220, 0.14);
    padding: 78px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(111, 183, 220, 0.16);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 56px;
    width: auto;
}

.footer-brand h4,
.main-footer h5 {
    margin: 0 0 10px;
    font-weight: 800;
    color: var(--primary);
}

.footer-tagline {
    margin: 0;
    color: #58aad4;
    font-weight: 700;
}

.footer-desc {
    margin: 0;
    color: var(--text-soft);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
        color: var(--text-soft);
    }

    .footer-links a {
        color: var(--text-soft);
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--primary);
        }

.footer-bottom {
    padding-top: 18px;
    text-align: center;
    color: var(--text-soft);
    font-size: 0.95rem;
}

@media (min-width: 1400px) {
    .custom-container {
        max-width: 1360px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-section .custom-container {
        padding-left: 46px;
        padding-right: 46px;
    }

    .hero-content h1 {
        font-size: 3.7rem;
        max-width: 800px;
    }

    .hero-desc {
        max-width: 760px;
    }
}

@media (max-width: 1199.98px) {
    .custom-container {
        padding-left: 26px;
        padding-right: 26px;
    }

    .hero-section .custom-container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.85rem;
        max-width: 680px;
    }

    .hero-desc {
        font-size: 1rem;
        max-width: 640px;
    }

    .dashboard-preview {
        border-radius: 28px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .custom-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-section .custom-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .main-header {
        backdrop-filter: blur(10px);
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(111, 183, 220, 0.18);
        border-radius: 18px;
        box-shadow: var(--shadow-sm);
    }

    .nav-menu {
        gap: 4px;
        align-items: stretch !important;
    }

        .nav-menu .nav-item {
            width: 100%;
        }

    .navbar .nav-link {
        display: block;
        width: 100%;
        padding: 12px 14px !important;
        border-radius: 12px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .btn-login {
        width: 100%;
        padding: 12px 16px;
        justify-content: center;
    }

    .hero-grid,
    .overview-grid,
    .benefit-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-content,
    .hero-visual {
        width: 100%;
    }

        .hero-content h1 {
            font-size: 2.2rem;
            line-height: 1.14;
            max-width: 100%;
        }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.75;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-actions {
        margin-bottom: 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stat-card {
        padding: 18px 16px;
    }

    .dashboard-preview {
        max-width: 100%;
        border-radius: 24px;
    }

    .dashboard-body {
        padding: 18px;
    }

    .dashboard-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .floating-badge-1,
    .floating-badge-2 {
        position: static;
        margin-top: 12px;
        width: fit-content;
    }

    .feature-grid,
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-strip-text {
        width: 100%;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
    }

    .cta-actions {
        width: 100%;
    }

    .main-logo {
        height: 40px;
    }

    .brand-title {
        font-size: 0.9rem;
    }

    .brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 1.8px;
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 767.98px) {
    .container,
    .custom-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero-section .custom-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .navbar {
        padding: 8px 0;
    }

    .main-header .container,
    .main-header .custom-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .brand-logo {
        gap: 8px;
        max-width: calc(100% - 52px);
        min-width: 0;
    }

    .main-logo {
        height: 30px !important;
    }

    .brand-title {
        font-size: 0.78rem !important;
        line-height: 1 !important;
    }

    .brand-subtitle {
        font-size: 0.5rem !important;
        letter-spacing: 1px !important;
    }

    .hero-grid,
    .overview-grid,
    .feature-grid,
    .process-grid,
    .benefit-grid,
    .footer-grid,
    .dashboard-row {
        grid-template-columns: 1fr !important;
    }

    .hero-section {
        padding: 40px 0 44px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 9px 14px;
        line-height: 1.35;
    }

    .hero-content {
        text-align: left;
    }

        .hero-content h1 {
            font-size: 1.85rem !important;
            line-height: 1.18 !important;
            max-width: 100% !important;
            margin: 18px 0 16px;
            letter-spacing: -0.3px;
        }

    .hero-desc {
        font-size: 0.96rem;
        line-height: 1.78;
        max-width: 100% !important;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }

    .btn-main,
    .btn-outline-main,
    .btn-outline-light,
    .btn-mini,
    .btn-login {
        width: 100%;
        padding: 13px 16px;
    }

    .stat-card,
    .overview-item,
    .feature-card,
    .process-card,
    .benefit-item {
        padding: 18px 16px;
    }

        .stat-card h3 {
            font-size: 1.6rem;
        }

        .stat-card p {
            font-size: 0.92rem;
        }

    .section-block {
        padding: 64px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

        .section-heading h2,
        .cta-content h2 {
            font-size: 1.42rem !important;
            line-height: 1.28;
        }

        .section-heading p,
        .cta-content p {
            font-size: 0.96rem;
        }

    .overview-item,
    .feature-card,
    .process-card,
    .benefit-item {
        border-radius: 20px;
    }

    .icon-box,
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .overview-item h3,
    .feature-card h3,
    .process-card h3,
    .benefit-item h3 {
        font-size: 1.08rem;
    }

    .dashboard-preview {
        width: 100%;
        max-width: 100%;
        border-radius: 22px;
    }

    .dashboard-top {
        padding: 14px 16px;
    }

    .dashboard-body {
        padding: 14px;
    }

    .dashboard-card {
        padding: 14px;
        border-radius: 18px;
        margin-bottom: 10px;
    }

        .dashboard-card h4 {
            font-size: 1rem;
        }

        .dashboard-card p {
            font-size: 0.92rem;
        }

    .floating-badge {
        position: static !important;
        margin-top: 10px;
        font-size: 0.88rem;
        padding: 9px 12px;
        white-space: normal;
    }

    .brand-strip-inner {
        gap: 14px;
        padding: 20px 0;
    }

    .brand-strip-text strong {
        font-size: 1rem;
    }

    .brand-strip-text span {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .cta-box {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .main-footer {
        padding: 60px 0 22px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo-row {
        align-items: center;
    }

    .footer-logo {
        height: 46px;
    }
}

@media (max-width: 480px) {
    .container,
    .custom-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .hero-section .custom-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .main-logo {
        height: 28px !important;
    }

    .brand-title {
        font-size: 0.74rem !important;
    }

    .brand-subtitle {
        font-size: 0.48rem !important;
        letter-spacing: 0.9px !important;
    }

    .hero-badge {
        font-size: 0.66rem;
        padding: 8px 12px;
    }

    .hero-content h1 {
        font-size: 1.62rem !important;
    }

    .hero-desc,
    .section-heading p,
    .cta-content p {
        font-size: 0.92rem;
    }

    .section-heading h2,
    .cta-content h2 {
        font-size: 1.34rem !important;
    }

    .dashboard-card,
    .overview-item,
    .feature-card,
    .process-card,
    .benefit-item {
        padding: 16px;
    }

    .floating-badge {
        font-size: 0.82rem;
        padding: 8px 10px;
    }
}
.user-dropdown-toggle {
    padding: 0 !important;
    background: transparent !important;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(111, 183, 220, 0.28);
    box-shadow: 0 6px 18px rgba(69, 122, 161, 0.12);
    transition: all 0.25s ease;
}

    .user-avatar:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(69, 122, 161, 0.16);
    }

.user-dropdown-menu {
    min-width: 260px;
    border: 1px solid rgba(111, 183, 220, 0.16);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(69, 122, 161, 0.14);
}

.user-dropdown-header {
    padding: 10px 12px 8px;
}

.user-dropdown-name {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.98rem;
}

.user-dropdown-email {
    color: var(--text-soft);
    font-size: 0.88rem;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.user-dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
}

    .user-dropdown-menu .dropdown-item:hover {
        background: rgba(111, 183, 220, 0.10);
    }

@media (max-width: 767.98px) {
    .user-avatar {
        width: 38px;
        height: 38px;
    }

    .user-dropdown-menu {
        min-width: 220px;
    }
}
/* =========================
   OPTIONAL: OFFCANVAS-LIKE MOBILE MENU
========================= */

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(88vw, 360px);
        height: 100vh;
        margin-top: 0;
        padding: 18px 14px 24px;
        border-radius: 24px 0 0 24px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: -20px 0 40px rgba(15, 23, 42, 0.12);
        overflow-y: auto;
        transition: right 0.28s ease;
        z-index: 1045;
    }

        .navbar-collapse.show {
            right: 0;
        }

        .navbar-collapse::before {
            content: "Menu";
            display: block;
            font-size: 1rem;
            font-weight: 800;
            color: #17365f;
            margin-bottom: 14px;
            padding: 6px 4px 10px;
            border-bottom: 1px solid #e8eef5;
        }

    /* overlay giả lập */
    body.menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.32);
        z-index: 1040;
    }
}
/* =========================
   APP-LIKE MOBILE HEADER / NAVBAR
========================= */

@media (max-width: 991.98px) {
    .main-header,
    .site-header,
    header {
        position: sticky;
        top: 0;
        z-index: 1040;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    }

    .navbar {
        min-height: 62px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

        .navbar .container,
        .navbar .container-fluid,
        .main-header .container,
        .site-header .container,
        .custom-container {
            padding-left: 14px;
            padding-right: 14px;
        }

    /* Logo */
    .navbar-brand,
    .brand-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 0;
        max-width: calc(100% - 60px);
    }

        .navbar-brand img,
        .brand-logo img {
            height: 36px;
            width: auto;
            object-fit: contain;
        }

        .navbar-brand span,
        .brand-logo span,
        .brand-logo-text {
            font-size: 0.95rem;
            font-weight: 800;
            color: #17365f;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    /* Toggle */
    .navbar-toggler {
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(27, 71, 124, 0.12);
        border-radius: 14px;
        background: #f8fbff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: none !important;
    }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 4px rgba(52, 119, 197, 0.10) !important;
            border-color: rgba(52, 119, 197, 0.22);
        }

    /* Offcanvas-like menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(86vw, 360px);
        height: 100vh;
        z-index: 1045;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: -18px 0 40px rgba(15, 23, 42, 0.12);
        padding: 18px 14px 22px;
        overflow-y: auto;
        transition: right 0.28s ease;
        border-left: 1px solid rgba(15, 23, 42, 0.05);
        border-radius: 24px 0 0 24px;
        margin-top: 0 !important;
    }

        .navbar-collapse.show {
            right: 0;
        }

        .navbar-collapse::before {
            content: "Điều hướng";
            display: block;
            font-size: 1rem;
            font-weight: 800;
            color: #17365f;
            padding: 2px 4px 12px;
            margin-bottom: 12px;
            border-bottom: 1px solid #e8eef5;
        }

    body.mobile-menu-open {
        overflow: hidden;
    }

        body.mobile-menu-open::after {
            content: "";
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.34);
            z-index: 1042;
        }

    /* Nav items */
    .navbar-nav {
        gap: 8px;
    }

        .navbar-nav .nav-item {
            width: 100%;
        }

        .navbar-nav .nav-link {
            display: flex;
            align-items: center;
            min-height: 48px;
            padding: 12px 14px;
            border-radius: 14px;
            background: #f8fbff;
            color: #17365f !important;
            font-weight: 700;
            font-size: 0.96rem;
            transition: all 0.2s ease;
        }

            .navbar-nav .nav-link:hover,
            .navbar-nav .nav-link:focus {
                background: #eef5ff;
                color: #1f5ea8 !important;
            }

            .navbar-nav .nav-link.active,
            .navbar-nav .show > .nav-link {
                background: linear-gradient(135deg, #1f5ea8 0%, #3477c5 100%);
                color: #fff !important;
                box-shadow: 0 10px 22px rgba(31, 94, 168, 0.18);
            }

    /* Dropdown */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin-top: 8px;
        padding: 8px;
        border: 0;
        border-radius: 16px;
        background: #f8fbff;
        box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 0.92rem;
        font-weight: 600;
        color: #34506f;
    }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: #eaf2fd;
            color: #1f5ea8;
        }

    /* Buttons / auth area in nav */
    .navbar .btn,
    .navbar .qtnd-btn,
    .navbar .qldt-btn {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        border-radius: 14px;
    }

    .navbar .d-flex,
    .navbar .nav-actions,
    .navbar .header-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }

    /* User info chip */
    .navbar .user-chip,
    .navbar .profile-chip {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 10px 12px;
        background: #f8fbff;
        border: 1px solid rgba(15, 23, 42, 0.05);
        border-radius: 14px;
    }

    .navbar .rounded-circle,
    .navbar .user-avatar,
    .navbar .profile-avatar {
        width: 38px;
        height: 38px;
        object-fit: cover;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        min-height: 58px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

        .navbar .container,
        .navbar .container-fluid,
        .main-header .container,
        .site-header .container,
        .custom-container {
            padding-left: 10px;
            padding-right: 10px;
        }

    .navbar-brand img,
    .brand-logo img {
        height: 32px;
    }

    .navbar-brand span,
    .brand-logo span,
    .brand-logo-text {
        font-size: 0.88rem;
    }

    .navbar-toggler {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .navbar-collapse {
        width: min(90vw, 340px);
        padding: 16px 12px 20px;
        border-radius: 20px 0 0 20px;
    }

    .navbar-nav .nav-link {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    .dropdown-menu {
        border-radius: 14px;
        padding: 6px;
    }

    .dropdown-item {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 0.9rem;
    }
}