/* Pricing Page Styles */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 8rem;
    color: #333;
    width:100%;
}

.pricing-hero {
    text-align: center;
    margin-bottom: 100px;
}

.pricing-hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #fff;
}

.pricing-hero p {
    font-size: 1.2em;
    color: #ccc;
}

.pricing-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 0 auto;
    max-width: 320px; /* Max width for single column */
}

@media (min-width: 768px) {
    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (min-width: 1200px) {
    .pricing-table {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
}

.plan {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #444;
    display: flex;
    flex-direction: column;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan.popular {
    border-color: #8A2BE2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    position: relative;
}

.plan.popular::before {
    content: '인기';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8A2BE2;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.plan h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
}

.plan .price {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.plan .credits {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #8A2BE2;
    font-weight: bold;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.plan ul li {
    margin-bottom: 10px;
    color: #ccc;
}

.btn-select-plan {
    background-color: #8A2BE2;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
}

.btn-select-plan:hover {
    background-color: #6a1eae;
}

.btn-select-plan:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.benefits-section {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 40px 20px;
    background-color: #2c2c2c;
    border-radius: 10px;
    border: 1px solid #444;
}

.benefits-section h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.benefits-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-section ul li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1.1em;
}

.benefits-section ul li p {
    margin: 0;
}

.benefits-section ul li strong {
    color: #8A2BE2;
    font-weight: bold;
}

.refund-policy-section {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px 20px;
    background-color: #2c2c2c;
    border-radius: 10px;
    border: 1px solid #444;
}

.refund-policy-section h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.refund-policy-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.refund-policy-section ul li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.6;
}

.refund-policy-section a {
    color: #8A2BE2;
    text-decoration: none;
}

.refund-policy-section a:hover {
    text-decoration: underline;
}
