modern price section

Ready-to-use modern price section using Tailwind utility classes. No dependencies, no setup—just grab the code and ship.

HTML code

This is the html code used to create this tailwind snippet

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modern Price Section - Tailwind CSS</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 mt-5">
    <div class="container mx-auto px-4 py-5">
        <!-- Tab Navigation -->
        <div class="text-center mb-12 md:mb-16">
            <div class="inline-flex bg-white shadow-lg p-2 rounded-full border border-[#00b5ec]">
                <button onclick="switchTab('yearly')" id="yearly-tab" class="nav-tab px-9 md:px-10 py-3 rounded-full text-base font-medium text-white bg-[#00b5ec] transition-all duration-300">Yearly</button>
                <button onclick="switchTab('monthly')" id="monthly-tab" class="nav-tab px-9 md:px-10 py-3 rounded-full text-base font-medium text-[#00b5ec] transition-all duration-300">Monthly</button>
            </div>
        </div>

        <!-- Yearly Tab Content -->
        <div id="yearly-content" class="tab-content">
            <div class="flex flex-wrap justify-center -mx-2">
                <!-- Personal Plan -->
                <div class="w-full md:w-1/2 lg:w-1/3 px-2 mb-8">
                    <div class="bg-white shadow-xl rounded-lg md:mx-5 md:pt-5">
                        <!-- Price Top -->
                        <div class="bg-[#00b5ec] rounded-lg md:rounded-2xl shadow-lg pt-12 pb-6 mb-8 relative z-0 md:-mx-5 after:content-[''] after:absolute after:bottom-[-17px] after:left-0 after:w-full after:h-12 after:bg-[#00b5ec] after:rounded-b-lg md:after:rounded-b-2xl after:shadow-md after:-z-10 after:skew-y-3">
                            <h4 class="text-white text-center text-xl font-semibold mb-2">Personal</h4>
                            <h2 class="text-white text-center text-5xl font-bold mb-0">
                                <sup class="text-xl font-medium align-top relative -left-1 top-3">$</sup>99
                            </h2>
                            <span class="text-white text-center block capitalize">per year</span>
                        </div>
                        <!-- Price Content -->
                        <div class="px-7 pb-10">
                            <ul class="border-b border-gray-200 mb-8 mt-0 md:mt-4 pb-3">
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Eget erovtiu faucid</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Cras justo odio</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Morbi leo risus</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Porta consectetur ac</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Vestibulum at eros</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Adipisci atque beatae</span>
                                </li>
                            </ul>
                            <a href="#" class="block w-full text-center bg-[#00b5ec] text-white py-3 px-6 rounded-lg font-medium hover:bg-[#0099cc] transition-colors duration-300">Buy now</a>
                        </div>
                    </div>
                </div>

                <!-- Business Plan (Popular) -->
                <div class="w-full md:w-1/2 lg:w-1/3 px-2 mb-8">
                    <div class="bg-[#00b5ec] shadow-xl rounded-lg md:mx-5 md:pt-5">
                        <!-- Price Top -->
                        <div class="bg-white rounded-lg md:rounded-2xl shadow-lg pt-12 pb-6 mb-8 relative z-0 md:-mx-5 after:content-[''] after:absolute after:bottom-[-17px] after:left-0 after:w-full after:h-12 after:bg-white after:rounded-b-lg md:after:rounded-b-2xl after:shadow-md after:-z-10 after:skew-y-3">
                            <h4 class="text-gray-900 text-center text-xl font-semibold mb-2">Business</h4>
                            <h2 class="text-[#00b5ec] text-center text-5xl font-bold mb-0">
                                <sup class="text-xl font-medium align-top relative -left-1 top-3 text-[#00b5ec]">$</sup>299
                            </h2>
                            <span class="text-[#00b5ec] text-center block capitalize">per year</span>
                        </div>
                        <!-- Price Content -->
                        <div class="px-7 pb-10">
                            <ul class="border-b border-white/30 mb-8 mt-0 md:mt-4 pb-3">
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Eget erovtiu faucid</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Cras justo odio</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Morbi leo risus</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Porta consectetur ac</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Vestibulum at eros</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Adipisci atque beatae</span>
                                </li>
                            </ul>
                            <a href="#" class="block w-full text-center bg-white text-[#00b5ec] py-3 px-6 rounded-lg font-medium hover:bg-gray-50 transition-colors duration-300">Buy now</a>
                        </div>
                    </div>
                </div>

                <!-- Enterprise Plan -->
                <div class="w-full md:w-1/2 lg:w-1/3 px-2 mb-8">
                    <div class="bg-white shadow-xl rounded-lg md:mx-5 md:pt-5">
                        <!-- Price Top -->
                        <div class="bg-[#00b5ec] rounded-lg md:rounded-2xl shadow-lg pt-12 pb-6 mb-8 relative z-0 md:-mx-5 after:content-[''] after:absolute after:bottom-[-17px] after:left-0 after:w-full after:h-12 after:bg-[#00b5ec] after:rounded-b-lg md:after:rounded-b-2xl after:shadow-md after:-z-10 after:skew-y-3">
                            <h4 class="text-white text-center text-xl font-semibold mb-2">Enterprise</h4>
                            <h2 class="text-white text-center text-5xl font-bold mb-0">
                                <sup class="text-xl font-medium align-top relative -left-1 top-3">$</sup>399
                            </h2>
                            <span class="text-white text-center block capitalize">per year</span>
                        </div>
                        <!-- Price Content -->
                        <div class="px-7 pb-10">
                            <ul class="border-b border-gray-200 mb-8 mt-0 md:mt-4 pb-3">
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Eget erovtiu faucid</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Cras justo odio</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Morbi leo risus</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Porta consectetur ac</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Vestibulum at eros</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Adipisci atque beatae</span>
                                </li>
                            </ul>
                            <a href="#" class="block w-full text-center bg-[#00b5ec] text-white py-3 px-6 rounded-lg font-medium hover:bg-[#0099cc] transition-colors duration-300">Buy now</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Monthly Tab Content -->
        <div id="monthly-content" class="tab-content hidden">
            <div class="flex flex-wrap justify-center -mx-2">
                <!-- Personal Plan -->
                <div class="w-full md:w-1/2 lg:w-1/3 px-2 mb-8">
                    <div class="bg-white shadow-xl rounded-lg md:mx-5 md:pt-5">
                        <!-- Price Top -->
                        <div class="bg-[#00b5ec] rounded-lg md:rounded-2xl shadow-lg pt-12 pb-6 mb-8 relative z-0 md:-mx-5 after:content-[''] after:absolute after:bottom-[-17px] after:left-0 after:w-full after:h-12 after:bg-[#00b5ec] after:rounded-b-lg md:after:rounded-b-2xl after:shadow-md after:-z-10 after:skew-y-3">
                            <h4 class="text-white text-center text-xl font-semibold mb-2">Personal</h4>
                            <h2 class="text-white text-center text-5xl font-bold mb-0">
                                <sup class="text-xl font-medium align-top relative -left-1 top-3">$</sup>29
                            </h2>
                            <span class="text-white text-center block capitalize">per month</span>
                        </div>
                        <!-- Price Content -->
                        <div class="px-7 pb-10">
                            <ul class="border-b border-gray-200 mb-8 mt-0 md:mt-4 pb-3">
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Eget erovtiu faucid</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Cras justo odio</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Morbi leo risus</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Porta consectetur ac</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Vestibulum at eros</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Adipisci atque beatae</span>
                                </li>
                            </ul>
                            <a href="#" class="block w-full text-center bg-[#00b5ec] text-white py-3 px-6 rounded-lg font-medium hover:bg-[#0099cc] transition-colors duration-300">Buy now</a>
                        </div>
                    </div>
                </div>

                <!-- Business Plan (Popular) -->
                <div class="w-full md:w-1/2 lg:w-1/3 px-2 mb-8">
                    <div class="bg-[#00b5ec] shadow-xl rounded-lg md:mx-5 md:pt-5">
                        <!-- Price Top -->
                        <div class="bg-white rounded-lg md:rounded-2xl shadow-lg pt-12 pb-6 mb-8 relative z-0 md:-mx-5 after:content-[''] after:absolute after:bottom-[-17px] after:left-0 after:w-full after:h-12 after:bg-white after:rounded-b-lg md:after:rounded-b-2xl after:shadow-md after:-z-10 after:skew-y-3">
                            <h4 class="text-gray-900 text-center text-xl font-semibold mb-2">Business</h4>
                            <h2 class="text-[#00b5ec] text-center text-5xl font-bold mb-0">
                                <sup class="text-xl font-medium align-top relative -left-1 top-3 text-[#00b5ec]">$</sup>59
                            </h2>
                            <span class="text-[#00b5ec] text-center block capitalize">per month</span>
                        </div>
                        <!-- Price Content -->
                        <div class="px-7 pb-10">
                            <ul class="border-b border-white/30 mb-8 mt-0 md:mt-4 pb-3">
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Eget erovtiu faucid</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Cras justo odio</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Morbi leo risus</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Porta consectetur ac</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Vestibulum at eros</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-white inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-white">Adipisci atque beatae</span>
                                </li>
                            </ul>
                            <a href="#" class="block w-full text-center bg-white text-[#00b5ec] py-3 px-6 rounded-lg font-medium hover:bg-gray-50 transition-colors duration-300">Buy now</a>
                        </div>
                    </div>
                </div>

                <!-- Enterprise Plan -->
                <div class="w-full md:w-1/2 lg:w-1/3 px-2 mb-8">
                    <div class="bg-white shadow-xl rounded-lg md:mx-5 md:pt-5">
                        <!-- Price Top -->
                        <div class="bg-[#00b5ec] rounded-lg md:rounded-2xl shadow-lg pt-12 pb-6 mb-8 relative z-0 md:-mx-5 after:content-[''] after:absolute after:bottom-[-17px] after:left-0 after:w-full after:h-12 after:bg-[#00b5ec] after:rounded-b-lg md:after:rounded-b-2xl after:shadow-md after:-z-10 after:skew-y-3">
                            <h4 class="text-white text-center text-xl font-semibold mb-2">Enterprise</h4>
                            <h2 class="text-white text-center text-5xl font-bold mb-0">
                                <sup class="text-xl font-medium align-top relative -left-1 top-3">$</sup>99
                            </h2>
                            <span class="text-white text-center block capitalize">per month</span>
                        </div>
                        <!-- Price Content -->
                        <div class="px-7 pb-10">
                            <ul class="border-b border-gray-200 mb-8 mt-0 md:mt-4 pb-3">
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Eget erovtiu faucid</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Cras justo odio</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-green-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-900">Morbi leo risus</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Porta consectetur ac</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Vestibulum at eros</span>
                                </li>
                                <li class="mb-4 mx-2 text-center lg:text-left lg:ml-7 relative">
                                    <svg class="w-4 h-4 text-red-600 inline-block mr-2 lg:absolute lg:left-[-28px] lg:top-1" fill="currentColor" viewBox="0 0 20 20">
                                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
                                    </svg>
                                    <span class="text-gray-500">Adipisci atque beatae</span>
                                </li>
                            </ul>
                            <a href="#" class="block w-full text-center bg-[#00b5ec] text-white py-3 px-6 rounded-lg font-medium hover:bg-[#0099cc] transition-colors duration-300">Buy now</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        function switchTab(tab) {
            // Update tab buttons
            const yearlyTab = document.getElementById('yearly-tab');
            const monthlyTab = document.getElementById('monthly-tab');
            const yearlyContent = document.getElementById('yearly-content');
            const monthlyContent = document.getElementById('monthly-content');

            if (tab === 'yearly') {
                yearlyTab.classList.add('bg-[#00b5ec]', 'text-white');
                yearlyTab.classList.remove('text-[#00b5ec]');
                monthlyTab.classList.remove('bg-[#00b5ec]', 'text-white');
                monthlyTab.classList.add('text-[#00b5ec]');
                yearlyContent.classList.remove('hidden');
                monthlyContent.classList.add('hidden');
            } else {
                monthlyTab.classList.add('bg-[#00b5ec]', 'text-white');
                monthlyTab.classList.remove('text-[#00b5ec]');
                yearlyTab.classList.remove('bg-[#00b5ec]', 'text-white');
                yearlyTab.classList.add('text-[#00b5ec]');
                monthlyContent.classList.remove('hidden');
                yearlyContent.classList.add('hidden');
            }
        }
    </script>
</body>
</html>