.paket{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    padding: 80px 20px;
    background: var(--bg-box);
}

.packages-grid {
    margin-top: clamp(3rem, 4vw, 4rem);
    gap: clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.plan-card {
    background: var(--bg-box);
    width: clamp(280px, 30%, 350px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(74, 124, 68, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(74, 124, 68, 0.15);
    border-color: var(--primary-hover);
}

.plan-header {
    margin-bottom: 1rem;
}

.plan-title {
    font-size: var(--text-l);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.plan-duration {
    font-size: var(--text-s);
    color: var(--text);
    font-weight: 400;
}

.price-section {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-label {
    font-size: var(--text-xs);
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.price-currency {
    font-size: var(--text-s);
    color: var(--text-secondary);
    font-weight: 500;
}

.price-amount {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin: 1.5rem 0;
}

.price-per {
    font-size: var(--text-xs);
    color: var(--text-light);
}

.details-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.details-button:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 70, 70, 0.3);
}

.details-button:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.modal-title {
    font-size: var(--fontL);
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-price {
    font-size: var(--bg--surface);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 0;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-number {
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.activity-text {
    font-size: var(--text-s);
    color: var(--text);
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .packages-grid {
        gap: 1.5rem;
    }

    .plan-card {
        width: 100%;
        max-width: 350px;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        width: calc(100% - 2rem);
    }

    .modal-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card {
    animation: fadeInUp 0.6s ease forwards;
}

.plan-card:nth-child(2) {
    animation-delay: 0.2s;
}

.plan-card:nth-child(3) {
    animation-delay: 0.4s;
}