@import url('https://fonts.tildacdn.com/tildasans/tildasans.css');

body, button {
    font-family: 'TildaSans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    background: transparent;
}

.paywall-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 440px;
    padding-bottom: 20px;
}

.plan-wrapper {
    position: relative;
    padding-top: 10px;
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 20px;
    background-color: #DDE4FA;
    color: #6B92F2;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600; /* TildaSans mapping will pick appropriate weight */
    letter-spacing: 0.5px;
    z-index: 2;
    border: 1px solid #6B92F2;
}

/* PLAN CARDS */
.plan-option {
    display: flex;
    flex-direction: column;
    background-color: rgba(33, 120, 255, 0.035);
    border: 1.5px solid #6B92F2;
    border-radius: 20px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.plan-top-content {
    display: flex;
    align-items: center;
    padding: 22px 20px;
    gap: 15px;
}

.plan-option:hover {
    background-color: rgba(33, 120, 255, 0.07);
    transform: translateY(-1px);
}

.plan-option.selected {
    background-color: #E9EFFF;
    border-width: 2.5px;
    box-shadow: 0 4px 15px rgba(107, 146, 242, 0.2);
}

/* FOOTER (RECOMMENDED BY USERS) */
.plan-footer {
    background-color: rgba(107, 146, 242, 0.1);
    color: #6B92F2; 
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.radio-circle {
    width: 22px;
    height: 22px;
    border: 1.5px solid #6B92F2;
    border-radius: 50%;
    background-color: white;
    flex-shrink: 0;
    position: relative;
}

.plan-option.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #6B92F2;
    border-radius: 50%;
}

.plan-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.plan-title {
    color: #6B92F2;
    font-size: 19px;
    font-weight: 700; /* Stronger for Tilda Sans */
}

.plan-current-price-row {
    color: #6B92F2;
    font-size: 15px;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.price-arrow {
    margin: 0 8px;
    display: flex;
    align-items: center;
}

.price-arrow img {
    height: 12px;
    width: auto;
    display: block;
}

.plan-old-price {
    color: #8CA9F7;
    font-size: 14px;
    text-decoration: line-through;
}

.price-box {
    background-color: rgba(107, 146, 242, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 80px;
}

.old-daily {
    color: #8CA9F7;
    font-size: 12px;
    text-decoration: line-through;
}

.current-daily {
    color: #6B92F2;
    font-size: 19px;
    font-weight: 700;
}

.daily-label {
    color: #6B92F2;
    font-size: 11px;
}

/* SOLID CTA BUTTON (VIBRANT BLUE #3B76FF) */
.cta-button {
    background-color: #3B76FF;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 118, 255, 0.25);
    font-family: 'TildaSans', Arial, sans-serif;
}

.cta-button:hover {
    background-color: #2D61D6;
    transform: scale(1.02);
}

.cta-button:disabled {
    background-color: #9CA3AF;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .plan-option {
        border-radius: 16px;
    }
}
