:root {
    /* Brand */
    --primary: #e53935;
    --primary-hover: #d32f2f;

    /* Background */
    --bg: #f5f7fa;
    --bg-soft: #ffffff;
    --card: #ffffff;

    /* Text */
    --text: #1f2937;
    --muted: #6b7280;

    /* Border */
    --border: #e5e7eb;

    /* Status */
    --success: #16a34a;
    --danger: #dc2626;
    --info: #2563eb;

    --bs-body-font-size: 1rem;
}

body {
    background: #f5f7fa !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
}

h1,
h2 {
    font-family: Inter, "Inter Placeholder", sans-serif !important;
    font-weight: bold;
}

p {
    font-size: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 17px;
    text-transform: uppercase;
    padding: 0 8px 0 8px;
}

.site-desc {
    line-height: 2rem;
}

.footer {
    padding-top: 32px;
}

header {
    position: relative;
    min-height: auto;
    height: 0 !important;
    background: none !important;
    padding: 0 !important;
    overflow: hidden;
}

header:after {
    display: none;
}

#hero {
    width: 100%;
    min-height: 300px;
    color: white;
    background: #0b1220;
    margin-top: 80px;
    padding: 80px 0 60px;
}

#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(11, 18, 32, 0.15) 0%, rgba(11, 18, 32, 0.55) 55%, rgba(11, 18, 32, 0.88) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* nằm trên Vanta + gradient */
    display: flex;
    align-items: center;
}

/* Hero */

.hero h1 {
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #fff;
}

.hero p {
    font-size: 13px;
    color: #e7e5e5;
    margin-bottom: 28px;
}

.hero .btn-cta {
    font-size: 14px;
}

/* Section */
section {
    padding: 60px 0;
}

section .title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 28px;
}

section .bg-white {
    background-color: white;
}

section.bg-dark {
    background: linear-gradient(to bottom, rgba(11, 18, 32, 0.15) 0%, rgba(11, 18, 32, 0.55) 55%, rgba(11, 18, 32, 0.88) 100%);
}

img.partner {
    width: 100%;
    border-radius: 16px;
    background: #f0f0f0;
}

#business-model {
    max-width: 1024px;
    border-radius: 24px;
}

#business-model p.sub {
    color: #e7e5e5;
}

h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.sub {
    color: var(--muted);
    margin-bottom: 40px;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card.features {
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    width: 100%;
    height: 100%;
}

.card.features h3 {
    font-weight: 600;
    color: #0b1f2e;
    text-transform: uppercase;
}

.card.features p {
    font-weight: 500;
    font-size: 1rem;
    color: #0b1f2ec4;
    text-transform: uppercase;
}

.card.features img {
    width: 100%;
}

.card.features.feature-1 {
    background: linear-gradient(0deg, #40ffc7 0%, #eafbf6 53%);
}

.card.features.feature-2 {
    background: linear-gradient(#ff00141f 47%, #ff00149c 100%);
}

.card.features.feature-3 {
    background: linear-gradient(0deg, #4198db 0%, #bfd5e6 100%);
}

.card h3 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 6px;
}

.card p {
    color: var(--muted);
    font-size: 1rem;
}

.stack-cards {
    position: relative;
}

.stack-item {
    transition:
        transform 0.8s ease,
        opacity 0.6s ease;
}

.stack-cards:not(.active) .stack-item:nth-child(1) {
    transform: translateX(120px) scale(0.95);
    z-index: 1;
}

.stack-cards:not(.active) .stack-item:nth-child(2) {
    transform: translateX(0) scale(1);
    z-index: 2;
}

.stack-cards:not(.active) .stack-item:nth-child(3) {
    transform: translateX(-120px) scale(0.95);
    z-index: 3;
}

.box {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
}

.icon {
    margin: 8px;
}

.icon i {
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: white;
    border: 1px solid white;
    border-radius: 50%;
}

.arrow {
    font-size: 24px;
    color: var(--muted);
}

.customize-list li {
    font-size: 22px;
}

.img-screenshot {
    max-height: 350px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: #f1f1f1;
}

.text-primary.position {
    margin-top: 4px;
    font-weight: 100;
    color: #a7a7a7 !important;
}

footer.bg-dark.footer {
    background-color: rgb(10 15 33) !important;
}

@media (min-width: 300px) {
    .hero .btn-cta {
        font-size: 16px;
    }

    h2.title {
        font-size: 28px;
    }

    .card h3 {
        font-size: 22px;
    }

    section .title {
        font-size: 28px;
    }

    .customize-list li {
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: start;
        text-align: left;
    }

    .customize-list li i {
        font-size: 28px;
    }
}

@media (min-width: 500px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero .btn-cta {
        font-size: 17px;
    }
}

@media (min-width: 768px) {
    .navbar-nav {
        padding-top: 8px;
    }

    .navbar .nav-item {
        padding: 8px 0;
        margin: 0 !important;
    }

    .navbar .nav-link {
        padding: 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .btn-cta {
        font-size: 18px;
    }

    h2.title {
        font-size: 33px;
    }

    .card h3 {
        font-size: 22px;
    }

    section .title {
        font-size: 33px;
    }

    .customize-list li {
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: start;
        text-align: left;
    }

    .customize-list li i {
        font-size: 28px;
    }

    .hero-image {
        margin-top: 46px;
    }

    .card.features {
    }

    .card.features img {
        width: 80%;
    }

    .partner-wrapper {
        padding: 0;
        margin: 0;
    }

    img.partner {
        margin-bottom: 16px;
    }
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }
}

@media (min-width: 1025px) {
    .hero h1 {
        font-size: 33px;
    }

    .hero p {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    #our-partners .row {
        gap: 0 !important;
    }

    #our-partners .row .col-xl-2 {
        padding: 0 8px 0 8px !important;
    }
}

@media (max-width: 768px) {
    .stack-item {
        transition: none !important;
        transform: none !important;
        margin-bottom: 16px;
        max-width: 95%;
    }

    .nav-item {
        margin: 16px 0 0 0;
    }

    .navbar .nav-link {
        font-size: 1rem;
    }

    .navbar .nav-item.ms-4 {
        justify-content: center;
        margin-left: 0 !important;

        padding-top: 16px;
        border-top: 1px solid #75767842;
    }
}
