.ups-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.ups-pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.ups-pricing-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.ups-pricing-header p {
    font-size: 1.2em;
    color: #7f8c8d;
}

.ups-pricing-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ups-pricing-plan {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.ups-pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.ups-pricing-plan.ups-featured {
    border-color: #b3d9f2;
    border-width: 2px;
    background: #f8fbff;
}

.ups-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.ups-pricing-plan h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.ups-price {
    margin: 30px 0;
    font-size: 3em;
    font-weight: bold;
    color: #2c3e50;
}

.ups-currency {
    font-size: 0.6em;
    vertical-align: top;
}

.ups-amount {
    font-size: 1em;
}

.ups-period {
    font-size: 0.4em;
    font-weight: normal;
    color: #7f8c8d;
    margin-left: 5px;
}

.ups-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.ups-features li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    color: #34495e;
}

.ups-features li:last-child {
    border-bottom: none;
}

.ups-features li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

.ups-subscribe-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    background: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.ups-subscribe-btn:hover {
    background: #2980b9;
}

.ups-subscribe-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.ups-pricing-footer {
    text-align: center;
    color: #7f8c8d;
    margin-top: 40px;
}

.ups-message {
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    text-align: center;
}

.ups-message.ups-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ups-message.ups-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.ups-monthly-equivalent {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Modal Styles */
.ups-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ups-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.ups-modal-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.ups-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ups-modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #2c3e50;
}

.ups-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    transition: color 0.3s ease;
}

.ups-modal-close:hover {
    color: #2c3e50;
}

.ups-modal-body {
    padding: 30px;
}

.ups-form-group {
    margin-bottom: 20px;
}

.ups-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95em;
}

.ups-form-group .required {
    color: #e74c3c;
}

.ups-form-group input[type="text"],
.ups-form-group input[type="email"],
.ups-form-group input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.ups-form-group input[type="text"]:focus,
.ups-form-group input[type="email"]:focus,
.ups-form-group input[type="url"]:focus {
    outline: none;
    border-color: #3498db;
}

.ups-card-element {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.ups-card-element:focus-within {
    border-color: #3498db;
}

.ups-card-errors {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 8px;
    min-height: 20px;
}

.ups-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.ups-btn-cancel,
.ups-btn-submit {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ups-btn-cancel {
    background: #ecf0f1;
    color: #7f8c8d;
}

.ups-btn-cancel:hover {
    background: #d5dbdb;
}

.ups-btn-submit {
    background: #3498db;
    color: #fff;
    position: relative;
}

.ups-btn-submit:hover:not(:disabled) {
    background: #2980b9;
}

.ups-btn-submit:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.ups-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ups-success-message {
    text-align: center;
    padding: 40px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .ups-pricing-plans {
        grid-template-columns: 1fr;
    }

    .ups-pricing-header h1 {
        font-size: 2em;
    }

    .ups-price {
        font-size: 2.5em;
    }
}