@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* General reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Font Styling */
div {
    font-family: 'Poppins', sans-serif;
}

/* Hero Section Styles */
.hero-section-pricing {
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
    padding-top: 100px;
}

.hero-section-pricing h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0176C0;
}

.hero-section-pricing p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.hero-section-pricing p:last-of-type {
    font-weight: 600;
    color: #1BB6AF;
    font-size: 20px;
}

/* Pricing Section */
.pricing-section-custom {
    text-align: center;
    padding: 30px 20px;
}

.pricing-header-custom {
    font-size: 60px;
    margin-bottom: 30px;
    font-weight: 700;
    background: linear-gradient(to right, #1BB6AF, #0176C0);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 1.5px;
}

/* Pricing Tables */
.pricing-custom {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 1em;
}

.table-custom {
    margin: 2em 1em;
    text-align: center;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.table-custom:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

.plan-icon-custom {
    width: 4rem;
    height: 4rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Table Header */
.table-header-custom {
    width: 100%;
    height: 18em;
    background: linear-gradient(331deg, #321d58, #7344c8);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0%, 100% 80%, 50% 100%, 0 80%);
    flex-direction: column;
}

.shadow-container-custom {
    filter: drop-shadow(0 0.5em 0.5em rgba(0, 0, 0, 0.2));
}

/* Price Tag */
.price-custom {
    background: #fff;
    width: 5em;
    height: 5em;
    position: absolute;
    top: -2.5em;
    left: 50%;
    transform: translate(-50%);
    padding: 1em 0.5em 0.5em 0.5em;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, 0.3);
}

.price-custom h1 {
    font-size: 1.5em;
    font-weight: 700;
    color: #673ab7;
}

.price-custom small {
    color: #999;
    font-size: 0.8em;
}

/* Plan Title */
.title-custom {
    color: #fff;
    text-transform: uppercase;
}

.title-custom h1, .title-custom p {
    background-color: transparent;
}

.title-custom h1 {
    margin: 0.2em;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 1px;
}

.title-custom p {
    font-size: 0.8em;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Table Body */
.table-body-custom {
    width: 100%;
    margin: -3em auto 0 auto;
    padding: 3em 1em 1em 1em;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.body-title-custom h2 {
    margin: 0.5em 0 0.1em 0;
    color: #222;
    font-weight: 600;
    font-size: 1.2em;
}

.body-title-custom p {
    color: #777;
    font-weight: 400;
    font-size: 0.8em;
}

/* Feature List */
.table-custom ul {
    list-style: none;
    margin: 1em 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

.table-custom li {
    padding: 0.8em 0;
    color: #555;
    font-size: 0.9em;
    font-weight: 400;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.table-custom li:hover {
    background-color: #f1f1f1;
}

.table-custom li i {
    margin-right: 0.3em;
    font-size: 1.2em;
}

.table-custom li .fa-check {
    color: #00ff44;
}

.table-custom li .fa-times {
    color: #ff3c3c;
}

/* Buy Button */
.buy-button-custom {
    background: linear-gradient(331deg, #321d58, #7344c8);
    color: #fff;
    border-radius: 5em;
    border: none;
    padding: 0.8em 1.8em;
    font-weight: 600;
    font-size: 0.9em;
    position: relative;
    bottom: -1em;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s;
    cursor: pointer;
}

.buy-button-custom:hover {
    background: #fff !important;
    color: #111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* Special Styles for Different Plans */
.table-custom:nth-child(2) .table-header-custom,
.table-custom:nth-child(2) .buy-button-custom {
    background: linear-gradient(331deg, #b71a50, #ff3c7d);
}

.table-custom:nth-child(2) .price-custom h1 {
    color: #ff3c7d;
}

.table-custom:nth-child(3) .table-header-custom,
.table-custom:nth-child(3) .buy-button-custom {
    background: linear-gradient(331deg, #cf3c31, #ff5d51);
}

.table-custom:nth-child(3) .price-custom h1 {
    color: #ff5d51;
}
