/* ─── Hero ───────────────────────────────────────────────── */
.pricing-hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    /* font-weight: 700; */
    line-height: 1.2;
}

.pricing-hero .highlight {
    color: #f08700;
}

.pricing-hero p {
    margin-top: 0.5rem;
    color: #555;
    font-size: 1rem;
}

/* ─── Toggle ──────────────────────────────────────────────── */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    font-weight: 400;
}

.toggle-container .label {
    font-size: 1rem;
    color: #333;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 34px;
    transition: background 0.2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

input:checked+.slider {
    background: linear-gradient(90deg, #F46B45, #FFB34C);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* ─── Cards ──────────────────────────────────────────────── */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding-bottom: 4rem;
}

.card {
    position: relative;
    width: 280px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.icon img {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    width: 90px;
    height: 90px;
}

.price {
    font-size: 4rem;
    font-weight: 400;
    margin: 0.5rem 0;
    font-family: 'Afacad', sans-serif;
}

.price .value {
    margin-right: 0.25rem;
}

.price .period {
    font-size: 1.5rem;
    font-weight: 400;
    color: #777;
}

.yearly-offer {
    font-size: 0.8rem;
    color: #181818;
    background: rgba(255, 234, 207, 0.546);
    border: #FFB34C 2px solid;
    border-radius: 8px;              /* Fully rounded pill */
    padding: 0.18rem 0.85rem;          /* Small, pill-like */
    margin: -1.5rem 0 0.5rem 0;        /* Space below price */
    display: none;                     /* Initially hidden */
    text-align: left;                  /* Align text left */
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(240, 135, 0, 0.08);
    width: fit-content;                /* Only as wide as text */
    align-self: flex-start;            /* Align to left in flex column */
}

.yearly-offer img {
    width: 1.2rem;
    height: 1.2rem;
    vertical-align: middle;
    margin-right: 0.5rem; /* Space between icon and text */
}

.btn-plan {
    font-size: 1.25rem;
    /* font-weight: 500; */
}

.btn-plan:hover {
    opacity: 0.9;
}

.members {
    font-size: 1.25rem;
    color: #333;
    margin: 1rem auto -1rem;
}

.card hr {
    border: none;
    border-top: 1px solid #000000;
    margin: 0.5rem 0 0.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-list li {
    font-size: 0.81rem;
    color: #555;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: "✔︎";
    color: #3cb371;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}